Whamcloud - gitweb
- fixed up lustre_mds.h to allow inclusion in userspace testreq.c
[fs/lustre-release.git] / lustre / tests / runfailure-net
index 29d2a39..0da22bc 100755 (executable)
@@ -7,7 +7,7 @@ run() {
        shift
        $* &
        sleep 1
-       kill $!
+       kill -9 $!
 }
 
 # GETATTR_NET - ls will hang on the getattr
@@ -16,6 +16,8 @@ run 0x102 ls /mnt/obd/lost+found
 # READPAGE_NET - ls will hang reading in new pages (lost+found is not in cache)
 run 0x104 ls /mnt/obd/lost+found
 
+sleep 1
+
 # REINT_NET - touch will hang on setattr
 run 0x107 touch /mnt/obd
 
@@ -29,9 +31,11 @@ run 0x107 mv /mnt/obd/lost+found /mnt/obd/lost
 run 0x107 rmdir /mnt/obd/lost+found
 
 # OPEN_NET - ls will hang on open
-run 0x107 ls /mnt/obd/lost+found
+run 0x113 ls /mnt/obd/lost+found
 
 # CLOSE_NET - ls will hang on close
-run 0x107 ls /mnt/obd/lost+found
+run 0x115 ./testreq --close junk_file_handle
+
+run 0 ls -a /mnt/obd/
 
-run 0 ls -a /mnt/obd/lost+found
+echo "Done."
\ No newline at end of file