aboutsummaryrefslogtreecommitdiffstats
path: root/test/fcopy/dircopy.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-11-19 11:12:38 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-11-19 11:12:38 -0500
commitfe8ed9b3abb32ec8b6dff8a0ae36038504ebc0e8 (patch)
tree931fbd5a7497fa19f16db13332a9cc21a3d5ef1a /test/fcopy/dircopy.exp
parenttesting (diff)
downloadfirejail-fe8ed9b3abb32ec8b6dff8a0ae36038504ebc0e8.tar.gz
firejail-fe8ed9b3abb32ec8b6dff8a0ae36038504ebc0e8.tar.zst
firejail-fe8ed9b3abb32ec8b6dff8a0ae36038504ebc0e8.zip
fix vivaldi profile, more testing
Diffstat (limited to 'test/fcopy/dircopy.exp')
-rwxr-xr-xtest/fcopy/dircopy.exp30
1 files changed, 25 insertions, 5 deletions
diff --git a/test/fcopy/dircopy.exp b/test/fcopy/dircopy.exp
index b87f24a59..00b0204ae 100755
--- a/test/fcopy/dircopy.exp
+++ b/test/fcopy/dircopy.exp
@@ -55,28 +55,48 @@ after 100
55send -- "ls -al dest\r" 55send -- "ls -al dest\r"
56expect { 56expect {
57 timeout {puts "TESTING ERROR 8\n";exit} 57 timeout {puts "TESTING ERROR 8\n";exit}
58 "drwx--x--x" 58 "drwxr-xr-x"
59} 59}
60expect { 60expect {
61 timeout {puts "TESTING ERROR 9\n";exit} 61 timeout {puts "TESTING ERROR 9\n";exit}
62 "rwxrwxrwx" 62 "a"
63} 63}
64expect { 64expect {
65 timeout {puts "TESTING ERROR 10\n";exit} 65 timeout {puts "TESTING ERROR 10\n";exit}
66 "lrwxrwxrwx"
67}
68expect {
69 timeout {puts "TESTING ERROR 11\n";exit}
70 "dircopy.exp"
71}
72expect {
73 timeout {puts "TESTING ERROR 12\n";exit}
74 "rwxr-xr-x"
75}
76expect {
77 timeout {puts "TESTING ERROR 13\n";exit}
78 "file1"
79}
80expect {
81 timeout {puts "TESTING ERROR 14\n";exit}
66 "rw-r--r--" 82 "rw-r--r--"
67} 83}
84expect {
85 timeout {puts "TESTING ERROR 15\n";exit}
86 "file2"
87}
68after 100 88after 100
69 89
70send -- "diff -q src/a/b/file4 dest/a/b/file4; echo done\r" 90send -- "diff -q src/a/b/file4 dest/a/b/file4; echo done\r"
71expect { 91expect {
72 timeout {puts "TESTING ERROR 11\n";exit} 92 timeout {puts "TESTING ERROR 16\n";exit}
73 "differ" {puts "TESTING ERROR 12\n";exit} 93 "differ" {puts "TESTING ERROR 17\n";exit}
74 "done" 94 "done"
75} 95}
76 96
77send -- "file dest/dircopy.exp\r" 97send -- "file dest/dircopy.exp\r"
78expect { 98expect {
79 timeout {puts "TESTING ERROR 13\n";exit} 99 timeout {puts "TESTING ERROR 18\n";exit}
80 "symbolic link" 100 "symbolic link"
81} 101}
82 102