From 8b1861ae7223a8ff4034046e4c28d800878199d1 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 7 Apr 2017 09:09:04 -0400 Subject: CentOS fixes --- test/fcopy/dircopy.exp | 9 ++++++--- test/fcopy/filecopy.exp | 5 +++-- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'test/fcopy') 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 send -- "ls -al dest\r" expect { timeout {puts "TESTING ERROR 8\n";exit} - "drwxr-xr-x" + "drwxr-xr-x" { puts "umask 0022\n" } + "drwxrwxr-x" { puts "umask 0002\n" } } expect { timeout {puts "TESTING ERROR 9\n";exit} @@ -99,7 +100,8 @@ expect { } expect { timeout {puts "TESTING ERROR 12\n";exit} - "rwxr-xr-x" + "rwxr-xr-x" { puts "umask 0022\n" } + "rwxrwxr-x" { puts "umask 0002\n" } } expect { timeout {puts "TESTING ERROR 13\n";exit} @@ -107,7 +109,8 @@ expect { } expect { timeout {puts "TESTING ERROR 14\n";exit} - "rw-r--r--" + "rw-r--r--" { puts "umask 0022\n" } + "rw-rw-r--" { puts "umask 0002\n" } } expect { 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 send -- "find dest\r" expect { timeout {puts "TESTING ERROR 0\n";exit} - "dest/" + "dest" } expect { timeout {puts "TESTING ERROR 1\n";exit} @@ -31,7 +31,8 @@ after 100 send -- "ls -al dest\r" expect { timeout {puts "TESTING ERROR 2\n";exit} - "rwxr-xr-x" + "rwxr-xr-x" { puts "umask 0022\n" } + "rwxrwxr-x" { puts "umask 0002\n" } } after 100 -- cgit v1.2.3-54-g00ecf