aboutsummaryrefslogtreecommitdiffstats
path: root/test/fcopy/dircopy.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-01-11 20:57:49 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2022-01-11 20:57:49 -0500
commitf094521fe8d4eda1d5074aa14e2200f624adcdaf (patch)
tree793f262866412e93cdc64f8bee9d860898b1ab21 /test/fcopy/dircopy.exp
parentfix scan-build (diff)
downloadfirejail-f094521fe8d4eda1d5074aa14e2200f624adcdaf.tar.gz
firejail-f094521fe8d4eda1d5074aa14e2200f624adcdaf.tar.zst
firejail-f094521fe8d4eda1d5074aa14e2200f624adcdaf.zip
fix fcopy testing
Diffstat (limited to 'test/fcopy/dircopy.exp')
-rwxr-xr-xtest/fcopy/dircopy.exp14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/fcopy/dircopy.exp b/test/fcopy/dircopy.exp
index 0882561e5..a779f80cd 100755
--- a/test/fcopy/dircopy.exp
+++ b/test/fcopy/dircopy.exp
@@ -12,9 +12,21 @@ match_max 100000
12 12
13send -- "rm -fr dest/*\r" 13send -- "rm -fr dest/*\r"
14after 100 14after 100
15send -- "cd src\r"
16after 100
17send -- "ln -s ../dircopy.exp dircopy.exp\r"
18after 100
19send -- "cd ..\r"
20after 100
15 21
16send -- "fcopy src dest\r" 22send -- "fcopy src dest\r"
17after 100 23after 100
24send -- "cd src\r"
25after 100
26send -- "ln -s ../dircopy.exp dircopy.exp\r"
27after 100
28send -- "cd ..\r"
29after 100
18 30
19send -- "find dest\r" 31send -- "find dest\r"
20expect { 32expect {
@@ -135,5 +147,7 @@ expect {
135 147
136send -- "rm -fr dest/*\r" 148send -- "rm -fr dest/*\r"
137after 100 149after 100
150send -- "rm -f src/dircopy.exp\r"
151after 100
138 152
139puts "\nall done\n" 153puts "\nall done\n"