Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / tests / sanity-nano.sh
1 #! /bin/sh
2 #
3 # Extremely minimal regression test set for clio.
4 #
5
6 MOUNT=${MOUNT:-"/mnt/lustre"}
7
8 function cmpcheck() {
9     find /etc/ -type f | while read ;do
10         f=$REPLY
11         echo -n .
12         cmp $f $MOUNT/$f
13     done
14 }
15
16 cp -vax /etc $MOUNT                                   || exit 1
17 cmpcheck
18
19 export OSTCOUNT=2
20 #export LOV="27c 27d 27e 27f 27g 27j 27k 27l 27m 27s 27t 27w 34f 51d 56 56g 56h"
21 #export JOIN="75a 75b 57c 75d 75e 75f 75g"
22 #export CHKSUM="77a 77d 77e 77f"
23 #export DIO="69 77d 77e 77f 78 119a 119b 119c"
24 #export EXCEPT="69 78 118a 129 $JOIN $CHKSUM $DIO"
25 #export EXCEPT="77f"
26 export SLOW="yes"
27
28 sh sanity.sh
29 #umount $MOUNT                                        || exit 2