aboutsummaryrefslogtreecommitdiffstats
path: root/test/fcopy
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-04-07 09:09:04 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-04-07 09:09:04 -0400
commit8b1861ae7223a8ff4034046e4c28d800878199d1 (patch)
tree45fe81f99e5b660167e04aa0785431aacaa45f46 /test/fcopy
parenttesting (diff)
downloadfirejail-8b1861ae7223a8ff4034046e4c28d800878199d1.tar.gz
firejail-8b1861ae7223a8ff4034046e4c28d800878199d1.tar.zst
firejail-8b1861ae7223a8ff4034046e4c28d800878199d1.zip
CentOS fixes
Diffstat (limited to 'test/fcopy')
-rwxr-xr-xtest/fcopy/dircopy.exp9
-rwxr-xr-xtest/fcopy/filecopy.exp5
2 files changed, 9 insertions, 5 deletions
diff --git a/test/fcopy/dircopy.exp b/test/fcopy/dircopy.exp
index a0fd409a6..573f454c8 100755
--- a/test/fcopy/dircopy.exp
+++ b/test/fcopy/dircopy.exp
@@ -83,7 +83,8 @@ after 100
83send -- "ls -al dest\r" 83send -- "ls -al dest\r"
84expect { 84expect {
85 timeout {puts "TESTING ERROR 8\n";exit} 85 timeout {puts "TESTING ERROR 8\n";exit}
86 "drwxr-xr-x" 86 "drwxr-xr-x" { puts "umask 0022\n" }
87 "drwxrwxr-x" { puts "umask 0002\n" }
87} 88}
88expect { 89expect {
89 timeout {puts "TESTING ERROR 9\n";exit} 90 timeout {puts "TESTING ERROR 9\n";exit}
@@ -99,7 +100,8 @@ expect {
99} 100}
100expect { 101expect {
101 timeout {puts "TESTING ERROR 12\n";exit} 102 timeout {puts "TESTING ERROR 12\n";exit}
102 "rwxr-xr-x" 103 "rwxr-xr-x" { puts "umask 0022\n" }
104 "rwxrwxr-x" { puts "umask 0002\n" }
103} 105}
104expect { 106expect {
105 timeout {puts "TESTING ERROR 13\n";exit} 107 timeout {puts "TESTING ERROR 13\n";exit}
@@ -107,7 +109,8 @@ expect {
107} 109}
108expect { 110expect {
109 timeout {puts "TESTING ERROR 14\n";exit} 111 timeout {puts "TESTING ERROR 14\n";exit}
110 "rw-r--r--" 112 "rw-r--r--" { puts "umask 0022\n" }
113 "rw-rw-r--" { puts "umask 0002\n" }
111} 114}
112expect { 115expect {
113 timeout {puts "TESTING ERROR 15\n";exit} 116 timeout {puts "TESTING ERROR 15\n";exit}
diff --git a/test/fcopy/filecopy.exp b/test/fcopy/filecopy.exp
index a89eaf40f..e0d959c32 100755
--- a/test/fcopy/filecopy.exp
+++ b/test/fcopy/filecopy.exp
@@ -19,7 +19,7 @@ after 100
19send -- "find dest\r" 19send -- "find dest\r"
20expect { 20expect {
21 timeout {puts "TESTING ERROR 0\n";exit} 21 timeout {puts "TESTING ERROR 0\n";exit}
22 "dest/" 22 "dest"
23} 23}
24expect { 24expect {
25 timeout {puts "TESTING ERROR 1\n";exit} 25 timeout {puts "TESTING ERROR 1\n";exit}
@@ -31,7 +31,8 @@ after 100
31send -- "ls -al dest\r" 31send -- "ls -al dest\r"
32expect { 32expect {
33 timeout {puts "TESTING ERROR 2\n";exit} 33 timeout {puts "TESTING ERROR 2\n";exit}
34 "rwxr-xr-x" 34 "rwxr-xr-x" { puts "umask 0022\n" }
35 "rwxrwxr-x" { puts "umask 0002\n" }
35} 36}
36after 100 37after 100
37 38