diff options
Diffstat (limited to 'test/fs/fscheck-tmpfs.exp')
-rwxr-xr-x | test/fs/fscheck-tmpfs.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fs/fscheck-tmpfs.exp b/test/fs/fscheck-tmpfs.exp index d40b45ece..818549fe2 100755 --- a/test/fs/fscheck-tmpfs.exp +++ b/test/fs/fscheck-tmpfs.exp | |||
@@ -9,14 +9,14 @@ match_max 100000 | |||
9 | 9 | ||
10 | send -- "mkdir -p ~/fjtest-dir/fjtest-dir\r" | 10 | send -- "mkdir -p ~/fjtest-dir/fjtest-dir\r" |
11 | after 100 | 11 | after 100 |
12 | send -- "mkdir -p /tmp/fjtest-dir/fjtest-dir\r" | 12 | send -- "mkdir /tmp/fjtest-dir\r" |
13 | after 100 | 13 | after 100 |
14 | 14 | ||
15 | if { ! [file exists ~/fjtest-dir/fjtest-dir] } { | 15 | if { ! [file exists ~/fjtest-dir/fjtest-dir] } { |
16 | puts "TESTING ERROR 1\n" | 16 | puts "TESTING ERROR 1\n" |
17 | exit | 17 | exit |
18 | } | 18 | } |
19 | if { ! [file exists /tmp/fjtest-dir/fjtest-dir] } { | 19 | if { ! [file exists /tmp/fjtest-dir] } { |
20 | puts "TESTING ERROR 2\n" | 20 | puts "TESTING ERROR 2\n" |
21 | exit | 21 | exit |
22 | } | 22 | } |
@@ -28,10 +28,10 @@ expect { | |||
28 | } | 28 | } |
29 | after 500 | 29 | after 500 |
30 | 30 | ||
31 | send -- "ls -l ~/fjtest-dir\r" | 31 | send -- "ls ~/fjtest-dir/fjtest-dir\r" |
32 | expect { | 32 | expect { |
33 | timeout {puts "TESTING ERROR 4\n";exit} | 33 | timeout {puts "TESTING ERROR 4\n";exit} |
34 | "total 0" | 34 | "No such file or directory" |
35 | } | 35 | } |
36 | after 500 | 36 | after 500 |
37 | 37 | ||