diff options
author | netblue30 <netblue30@yahoo.com> | 2017-04-07 09:09:04 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-04-07 09:09:04 -0400 |
commit | 8b1861ae7223a8ff4034046e4c28d800878199d1 (patch) | |
tree | 45fe81f99e5b660167e04aa0785431aacaa45f46 /test/fcopy | |
parent | testing (diff) | |
download | firejail-8b1861ae7223a8ff4034046e4c28d800878199d1.tar.gz firejail-8b1861ae7223a8ff4034046e4c28d800878199d1.tar.zst firejail-8b1861ae7223a8ff4034046e4c28d800878199d1.zip |
CentOS fixes
Diffstat (limited to 'test/fcopy')
-rwxr-xr-x | test/fcopy/dircopy.exp | 9 | ||||
-rwxr-xr-x | test/fcopy/filecopy.exp | 5 |
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 | |||
83 | send -- "ls -al dest\r" | 83 | send -- "ls -al dest\r" |
84 | expect { | 84 | expect { |
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 | } |
88 | expect { | 89 | expect { |
89 | timeout {puts "TESTING ERROR 9\n";exit} | 90 | timeout {puts "TESTING ERROR 9\n";exit} |
@@ -99,7 +100,8 @@ expect { | |||
99 | } | 100 | } |
100 | expect { | 101 | expect { |
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 | } |
104 | expect { | 106 | expect { |
105 | timeout {puts "TESTING ERROR 13\n";exit} | 107 | timeout {puts "TESTING ERROR 13\n";exit} |
@@ -107,7 +109,8 @@ expect { | |||
107 | } | 109 | } |
108 | expect { | 110 | expect { |
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 | } |
112 | expect { | 115 | expect { |
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 | |||
19 | send -- "find dest\r" | 19 | send -- "find dest\r" |
20 | expect { | 20 | expect { |
21 | timeout {puts "TESTING ERROR 0\n";exit} | 21 | timeout {puts "TESTING ERROR 0\n";exit} |
22 | "dest/" | 22 | "dest" |
23 | } | 23 | } |
24 | expect { | 24 | expect { |
25 | timeout {puts "TESTING ERROR 1\n";exit} | 25 | timeout {puts "TESTING ERROR 1\n";exit} |
@@ -31,7 +31,8 @@ after 100 | |||
31 | send -- "ls -al dest\r" | 31 | send -- "ls -al dest\r" |
32 | expect { | 32 | expect { |
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 | } |
36 | after 100 | 37 | after 100 |
37 | 38 | ||