Whamcloud - gitweb
LU-5092 nodemap: add structure to hold nodemap config
[fs/lustre-release.git] / lustre / tests / sanity-sec.sh
index 03e3712..e5cad39 100755 (executable)
@@ -1525,6 +1525,23 @@ test_23() {
 }
 run_test 23 "test mapped ACLs"
 
+test_24() {
+       nodemap_test_setup
+
+       trap nodemap_test_cleanup EXIT
+       for node in $(all_server_nodes); do
+               local node_ip=$(host_nids_address $node $NETTYPE)
+               do_node $node_ip 'find /proc/fs/lustre/nodemap -exec \
+                       cat {} \;' &> /dev/null
+               do_node $node_ip 'find /proc/fs/lustre/nodemap \
+                       -type f -perm /444 | xargs cat' &> /dev/null ||
+                               error "proc readable file read failed"
+       done
+
+       nodemap_test_cleanup
+}
+run_test 24 "check nodemap proc files for LBUGs and Oopses"
+
 log "cleanup: ======================================================"
 
 sec_unsetup() {