Browse code

Fixed one small typo of docker_cli_build_test.go

Signed-off-by: André Martins <martins@noironetworks.com>

André Martins authored on 2015/02/04 01:13:33
Showing 1 changed files
... ...
@@ -1721,10 +1721,10 @@ func TestBuildWithInaccessibleFilesInContext(t *testing.T) {
1721 1721
 			t.Fatalf("failed to chown directory to root: %s", err)
1722 1722
 		}
1723 1723
 		if err = os.Chmod(pathToDirectoryWithoutReadAccess, 0444); err != nil {
1724
-			t.Fatalf("failed to chmod directory to 755: %s", err)
1724
+			t.Fatalf("failed to chmod directory to 444: %s", err)
1725 1725
 		}
1726 1726
 		if err = os.Chmod(pathToFileInDirectoryWithoutReadAccess, 0700); err != nil {
1727
-			t.Fatalf("failed to chmod file to 444: %s", err)
1727
+			t.Fatalf("failed to chmod file to 700: %s", err)
1728 1728
 		}
1729 1729
 
1730 1730
 		buildCmd := exec.Command("su", "unprivilegeduser", "-c", fmt.Sprintf("%s build -t %s .", dockerBinary, name))