Whamcloud - gitweb
LU-5641 tests: ensure user daemon is in group bin 44/12044/4
authorBob Glossman <bob.glossman@intel.com>
Wed, 24 Sep 2014 19:09:53 +0000 (12:09 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 30 Oct 2014 02:17:06 +0000 (02:17 +0000)
sanity test_103a assumes user daemon is a member of group bin.
This addition makes that so even in el7 where it's
not true by default.

Test-Parameters: clientdistro=el7 mdsfilesystemtype=ldiskfs mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs
Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Change-Id: I180479e80d4da5f1bfec98c25676feaae85c29d7
Reviewed-on: http://review.whamcloud.com/12044
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
lustre/tests/sanity.sh

index c04d64d..96a7081 100644 (file)
@@ -6857,6 +6857,8 @@ test_103a() {
                skip_env "could not find setfacl" && return
        $GSS && skip "could not run under gss" && return
 
                skip_env "could not find setfacl" && return
        $GSS && skip "could not run under gss" && return
 
+       gpasswd -a daemon bin   # LU-5641
+
        declare -a identity_old
 
        for num in $(seq $MDSCOUNT); do
        declare -a identity_old
 
        for num in $(seq $MDSCOUNT); do