LEN=60
OPT=-w
-all: wtests2
+all: wtest2
utests: cleanup
sh j-reg.sh
wtest2:
sh w-racer.sh $(OPT) ext2 30
- sh w-racer.sh $(OPT) xfs 30
- sh w-racer.sh $(OPT) reiserfs 30
- sh w-racer.sh $(OPT) tmpfs 30
+ sh w-racer.sh $(OPT) ext3 30
+ sh w-racer.sh $(OPT) ext4 30
+ #sh w-racer.sh $(OPT) xfs 30
+ #sh w-racer.sh $(OPT) reiserfs 30
+ #sh w-racer.sh $(OPT) tmpfs 30
+
+wtest_quick:
+ sh w-racer.sh $(OPT) ext2 5
+ sh w-racer.sh $(OPT) ext3 5
+ sh w-racer.sh $(OPT) ext4 5
+ sh w-racer.sh $(OPT) xfs 5
+ sh w-racer.sh $(OPT) reiserfs 5
+ sh w-racer.sh $(OPT) tmpfs 5
oldall: progs tests # ntests longntests
-wtests2:
- sh w-racer.sh -w ext3 30
-# sh w-racer.sh ext3 30
-
progs: cmpd cmpi keepopen mapper3 open-ro-close open-rw-close \
open-unlink open-write opendir re-read mapper-re-read chmodl \
seek-dir aoptest creat-unlink mk-core append
##############################################################################
# scratch device to mount on /n/scratch
#SCRATCH_DEV=/dev/hdd2
-SCRATCH_DEV=/dev/sdb1
+SCRATCH_DEV=/dev/sdb
function runcmd
{
case "$lowertype" in
ext2 | ext3 | ext4 | reiserfs )
- runcmd mkfs -t $lowertype -q $SCRATCH_DEV
+ runcmd mkfs -t $lowertype -q $SCRATCH_DEV <<< $(echo y)
runcmd mount -t $lowertype $SCRATCH_DEV /n/scratch
;;
xfs )
- runcmd mkfs -t $lowertype -q -f $SCRATCH_DEV
+ runcmd mkfs -t $lowertype -q -f $SCRATCH_DEV <<< $(echo y)
runcmd mount -t $lowertype $SCRATCH_DEV /n/scratch
;;
tmpfs )
;;
nfs )
runcmd mkdir -p /n/lower
- runcmd mkfs -t ext3 -q $SCRATCH_DEV
+ runcmd mkfs -t ext3 -q $SCRATCH_DEV <<< $(echo y)
runcmd mount -t ext3 $SCRATCH_DEV /n/lower
runcmd exportfs -o no_root_squash,rw localhost:/n/lower
runcmd mount -t $lowertype localhost:/n/lower /n/scratch
runcmd find /tmp -ls
runcmd df /tmp
runcmd df -i /tmp
-runcmd ../racer/fsl-racer.sh /tmp/r ${2:-60}
+runcmd ../racer/racer-fsl.sh /tmp/r ${2:-60}
runcmd sync
if test $? != 0 ; then
ps -ef | grep bash
cleanup
-./j-scanlog.sh
+./w-scanlog.sh
#echo THIS_REPO:$THIS_REPO
case "$THIS_REPO" in
2.6.* | 3.* | 4.* | 5.* )
- BRANCH="linux-${THIS_REPO}.y"
+ BRANCH="linux-${THIS_REPO}"
;;
latest )
BRANCH="master"
LINUX_REPO="torvalds/linux.git"
LINUX_BRANCH="korg/master"
;;
- wrapfs-2.* | wrapfs-3.* | wrapfs-4.* )
+ wrapfs-2.* | wrapfs-3.* | wrapfs-4.* | wrapfs-5.* )
LINUX_REPO="stable/linux-stable.git"
LINUX_BRANCH=$(get_linux_version $LOCATION/Makefile)
LINUX_BRANCH="v$LINUX_BRANCH"