From 5465916a4dc44d6d311a5d5381fc5b366792bb5a Mon Sep 17 00:00:00 2001 From: smitsohu Date: Thu, 19 Nov 2020 16:36:55 +0100 Subject: tmpfs testing --- test/fs/fscheck-tmpfs.exp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/fs') 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 send -- "mkdir -p ~/fjtest-dir/fjtest-dir\r" after 100 -send -- "mkdir -p /tmp/fjtest-dir/fjtest-dir\r" +send -- "mkdir /tmp/fjtest-dir\r" after 100 if { ! [file exists ~/fjtest-dir/fjtest-dir] } { puts "TESTING ERROR 1\n" exit } -if { ! [file exists /tmp/fjtest-dir/fjtest-dir] } { +if { ! [file exists /tmp/fjtest-dir] } { puts "TESTING ERROR 2\n" exit } @@ -28,10 +28,10 @@ expect { } after 500 -send -- "ls -l ~/fjtest-dir\r" +send -- "ls ~/fjtest-dir/fjtest-dir\r" expect { timeout {puts "TESTING ERROR 4\n";exit} - "total 0" + "No such file or directory" } after 500 -- cgit v1.2.3-54-g00ecf