Whamcloud - gitweb
LU-7591 test: Applying filtering in t32_test 73/17973/6
authorSaurabh Tandan <saurabh.tandan@intel.com>
Wed, 13 Jan 2016 00:32:36 +0000 (17:32 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 25 Jan 2016 01:58:40 +0000 (01:58 +0000)
With SELinux feature enabled on Client, conf-sanity
test_32b failed with 'list verification failed' and
'Host key verification failed'. Because of the SELinux
enabled feature there was extra '.' in the permission
column.

Hence, that filtering is applied to remove that extra
'.' from permission column. t32_test within conf-sanity
is modified by applying filter to it.

Signed-off-by: Saurabh Tandan <saurabh.tandan@intel.com>
Change-Id: I62fbb79ecf29bb09fd382ab1ebc62d41f6678280
Reviewed-on: http://review.whamcloud.com/17973
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/conf-sanity.sh [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index e18dd58..f3e3f60
@@ -2024,7 +2024,8 @@ t32_test() {
                                pushd $tmp/mnt/lustre
                        fi
                        $r cat $list_file | sort -k 6 >$tmp/list.orig
                                pushd $tmp/mnt/lustre
                        fi
                        $r cat $list_file | sort -k 6 >$tmp/list.orig
-                       ls -Rni --time-style=+%s | sort -k 6 >$tmp/list || {
+                       ls -Rni --time-style=+%s | sort -k 6 |
+                               sed 's/\. / /' >$tmp/list || {
                                error_noexit "ls"
                                return 1
                        }
                                error_noexit "ls"
                                return 1
                        }