From b4424d947838cc41fc82f1ba9a7c06b8a49f9bae Mon Sep 17 00:00:00 2001 From: startx2017 Date: Thu, 29 Jul 2021 07:47:16 -0400 Subject: rework make test-fs --- test/fs/fs_dev_shm.exp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'test/fs/fs_dev_shm.exp') diff --git a/test/fs/fs_dev_shm.exp b/test/fs/fs_dev_shm.exp index 04e6e2383..5f0503494 100755 --- a/test/fs/fs_dev_shm.exp +++ b/test/fs/fs_dev_shm.exp @@ -16,13 +16,13 @@ expect { after 100 send -- "stty -echo\r" -send -- "echo mytest > /dev/shm/ttt;echo done\r" +send -- "echo mytest > /dev/shm/_firejail_test_file;echo done\r" expect { timeout {puts "TESTING ERROR 1\n";exit} "done" } -send -- "cat /dev/shm/ttt;echo done\r" +send -- "cat /dev/shm/_firejail_test_file;echo done\r" expect { timeout {puts "TESTING ERROR 2\n";exit} "mytest" @@ -32,13 +32,13 @@ expect { "done" } -send -- "rm /dev/shm/ttt;echo done\r" +send -- "rm /dev/shm/_firejail_test_file;echo done\r" expect { timeout {puts "TESTING ERROR 4\n";exit} "done" } -send -- "cat /dev/shm/ttt;echo done\r" +send -- "cat /dev/shm/_firejail_test_file;echo done\r" expect { timeout {puts "TESTING ERROR 5\n";exit} "mytest" {puts "TESTING ERROR 6\n";exit} @@ -57,13 +57,13 @@ expect { after 100 send -- "stty -echo\r" -send -- "echo mytest > /dev/shm/ttt;echo done\r" +send -- "echo mytest > /dev/shm/_firejail_test_file;echo done\r" expect { timeout {puts "TESTING ERROR 8\n";exit} "done" } -send -- "cat /dev/shm/ttt;echo done\r" +send -- "cat /dev/shm/_firejail_test_file;echo done\r" expect { timeout {puts "TESTING ERROR 9\n";exit} "mytest" @@ -73,13 +73,13 @@ expect { "done" } -send -- "rm /dev/shm/ttt;echo done\r" +send -- "rm /dev/shm/_firejail_test_file;echo done\r" expect { timeout {puts "TESTING ERROR 11\n";exit} "done" } -send -- "cat /dev/shm/ttt;echo done\r" +send -- "cat /dev/shm/_firejail_test_file;echo done\r" expect { timeout {puts "TESTING ERROR 12\n";exit} "mytest" {puts "TESTING ERROR 13\n";exit} -- cgit v1.2.3-70-g09d2