# configuration (you could tune this)
EXTRA="-xfs-qa"
-VERSION="2.4.0"
+VERSION="2.4.2"
BOOT="/boot"
SOAK_PASSES="-1"
SOAK_STRESS="10000"
SUDO="su -c"
IMAGE="$BOOT/vmlinuz-$VERSION$EXTRA"
SYSTEMMAP="$BOOT/System.map-$VERSION$EXTRA"
-CONFIG="$ROOT/$HOST-$VERSION$EXTRA.config"
+CONFIG="$ROOT/$HOST.config"
MODULES="/lib/modules/$VERSION$EXTRA"
COMMON_CONFIG="$WORKAREA/cmd/xfstests/common.config"
SH="/bin/sh"
_restart()
{
- exec $ROOT/su -c "shutdown -r 2 \"auto-qa rebooting\" &" < /dev/null
+ # erk - why won't this thing reboot reliably??
+ exec $ROOT/su -c "(shutdown -r 2 \"auto-qa rebooting\" ; sleep 10 ; reboot ; sleep 10 ; reboot )&" < /dev/null
}
_update_autoqa_file()
|| _fail " !!! clean $pkg failed"
done
- _log " *** clean quota tools"
- cd $WORKAREA/cmd/quota
- ( rm -f configure ; autoconf ; sh configure ; make clean ) 2>&1 \
- || _fail " !!! clean quota failed"
-
_log " *** clean linux"
cd $WORKAREA/linux
make mrproper 2>&1 \
|| _fail " !!! install $pkg failed"
done
- _log " *** build and install quota tools"
- cd $WORKAREA/cmd/quota
- rm -f configure
-
- # use e-fence - but this will only take effect on configure
- export MALLOCLIB=/usr/lib/libefence.a
- ( autoconf ; sh configure --prefix=/usr; make all ) 2>&1 \
- || _fail " !!! build quota failed"
- _sudo make install 2>&1 \
- || _fail " !!! install quota failed"
-
new_state="install"
;;
_log " *** kernel modules"
ls -l /lib/modules/$VERSION$EXTRA/kernel/fs/pagebuf/* \
/lib/modules/$VERSION$EXTRA/kernel/fs/xfs/* \
- /lib/modules/$VERSION$EXTRA/kernel/fs/xfs/support/*
+ /lib/modules/$VERSION$EXTRA/kernel/fs/xfs_support/*
if [ $MODULAR -eq 0 ]
then