14 umount $MTPT1 || exit -1
15 umount $MTPT2 || exit -1
17 setup_mount || fail "cannot remount /mnt/lustre"
21 echo "unexpected failure"
25 [ "`mount | grep $MTPT1`" ] || . llsetup.sh "$@" || exit -1
27 mkdir $MTPT1/dir1 || fail
28 echo "Next mkdir should fail"
29 mkdir $MTPT2/dir1 && fail
30 mkdir $MTPT2/dir2 || fail
31 echo "Next mkdirs should fail"
32 mkdir $MTPT1/dir2 && fail
36 echo "Next 2 mkdir should fail"
37 mkdir $MTPT2/dir1 && fail
38 mkdir $MTPT1/dir2 && fail
40 ./mcreate $MTPT2/file1
41 echo "Next mcreate should fail"
42 ./mcreate $MTPT2/file1 && fail
43 ./mcreate $MTPT2/file2 || fail
44 echo "Next mcreate should fail"
45 ./mcreate $MTPT1/file2 && fail
49 echo "Next 2 mcreates should fail"
50 ./mcreate $MTPT2/file1 && fail
51 ./mcreate $MTPT1/file2 && fail
53 rmdir $MTPT1/dir2 || fail
54 echo "Next rmdir should fail"
55 rmdir $MTPT2/dir2 && fail
56 rmdir $MTPT2/dir1 || fail
60 echo "Next rpmdir should fail"
62 echo "File I/O: you should see increasing sequences of contiguous numbers"
63 echo 1 >> $MTPT1/file1
65 echo 2 >> $MTPT2/file1
67 echo 3 >> $MTPT2/file1
69 echo 4 >> $MTPT1/file1