From: Reinhard Tartler <siretart@tauware.de>
Description: Fix FTBFS on arm platforms
Forwarded: https://github.com/openshift/imagebuilder/issues/160
Bug-Debian: http://bugs.debian.org/959538

diff --git a/dispatchers_test.go b/dispatchers_test.go
index dc46c96..718a9a4 100644
--- a/dispatchers_test.go
+++ b/dispatchers_test.go
@@ -23,7 +23,7 @@ func TestDispatchArgDefaultBuiltins(t *testing.T) {
 	localspec := platforms.DefaultSpec()
 	expectedArgs := []string{
 		"BUILDARCH=" + localspec.Architecture,
-		"TARGETPLATFORM=" + localspec.OS + "/" + localspec.Architecture,
+		"TARGETPLATFORM=" + platforms.DefaultString(),
 	}
 	got := mybuilder.Arguments()
 	sort.Strings(got)
