Whamcloud - gitweb
LU-7089 tests: sanity test 99b: find: invalid mode ‘+4’ 77/16177/21
authorYang Sheng <yang.sheng@intel.com>
Wed, 2 Sep 2015 13:48:44 +0000 (21:48 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 18 Jan 2016 17:04:07 +0000 (17:04 +0000)
Changes perm +4 pattern to perm /4. '+4' has deprecated.

Test-Parameters: envdefinitions=ONLY=99 clientdistro=sles12 testlist=sanity
Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Change-Id: If5e04fece8d90193acd89cd42f61e3ee5e79064e
Reviewed-on: http://review.whamcloud.com/16177
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh

index 55d8ebc..498e3b2 100755 (executable)
@@ -6212,7 +6212,7 @@ test_99b() {
        # some versions of cvs import exit(1) when asked to import links or
        # files they can't read.  ignore those files.
        TOIGNORE=$(find . -type l -printf '-I %f\n' -o \
-                       ! -perm +4 -printf '-I %f\n')
+                       ! -perm /4 -printf '-I %f\n')
        $RUNAS cvs -d $DIR/d99cvsroot import -m "nomesg" $TOIGNORE \
                d99reposname vtag rtag
 }