Skip to content

Commit 2ae1aa8

Browse files
committed
use octal
1 parent 0887cfe commit 2ae1aa8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/integration/mount_start_test.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
const (
3131
mountGID = "0"
3232
mountMSize = "6543"
33-
mountMode = "777"
33+
mountMode = "0777"
3434
mountPort = "46464"
3535
mountUID = "0"
3636
)
@@ -110,8 +110,9 @@ func validateMount(ctx context.Context, t *testing.T, profile string) {
110110
t.Fatalf("failed to get directory mode: %v", err)
111111
}
112112

113-
if !strings.Contains(rr.Output(), mountMode) {
114-
t.Errorf("wanted mode to be %q; got: %q", mountMode, rr.Output())
113+
want := "777"
114+
if !strings.Contains(rr.Output(), want) {
115+
t.Errorf("wanted mode to be %q; got: %q", want, rr.Output())
115116
}
116117

117118
args = sshArgs

0 commit comments

Comments
 (0)