diff options
-rwxr-xr-x | test/fs/private-etc.exp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/fs/private-etc.exp b/test/fs/private-etc.exp index e5a006585..3b4f3eb2b 100755 --- a/test/fs/private-etc.exp +++ b/test/fs/private-etc.exp | |||
@@ -15,29 +15,29 @@ expect { | |||
15 | } | 15 | } |
16 | sleep 1 | 16 | sleep 1 |
17 | 17 | ||
18 | send -- "ls -al /etc\r" | 18 | send -- "LC_ALL=C ls -al /etc\r" |
19 | expect { | 19 | expect { |
20 | timeout {puts "TESTING ERROR 3\n";exit} | 20 | timeout {puts "TESTING ERROR 3\n";exit} |
21 | "group" | 21 | "X11" |
22 | } | 22 | } |
23 | expect { | 23 | expect { |
24 | timeout {puts "TESTING ERROR 4\n";exit} | 24 | timeout {puts "TESTING ERROR 4\n";exit} |
25 | "passwd" | 25 | "group" |
26 | } | 26 | } |
27 | expect { | 27 | expect { |
28 | timeout {puts "TESTING ERROR 5\n";exit} | 28 | timeout {puts "TESTING ERROR 5\n";exit} |
29 | "resolv.conf" | 29 | "passwd" |
30 | } | 30 | } |
31 | expect { | 31 | expect { |
32 | timeout {puts "TESTING ERROR 6\n";exit} | 32 | timeout {puts "TESTING ERROR 6\n";exit} |
33 | "X11" | 33 | "resolv.conf" |
34 | } | 34 | } |
35 | 35 | ||
36 | send -- "ls -al /etc\r" | 36 | send -- "ls -al /etc; echo done\r" |
37 | expect { | 37 | expect { |
38 | timeout {puts "TESTING ERROR 7\n";exit} | 38 | timeout {puts "TESTING ERROR 7\n";exit} |
39 | "shadow" {puts "TESTING ERROR 8\n";exit} | 39 | "shadow" {puts "TESTING ERROR 8\n";exit} |
40 | "X11" | 40 | "done" |
41 | } | 41 | } |
42 | 42 | ||
43 | sleep 1 | 43 | sleep 1 |