4 # test out xfs_chver on IRIX
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
19 trap "_cleanup; exit \$status" 0 1 2 3 15
27 # get standard environment, filters and checks
32 # real QA test starts here
34 # Modify as appropriate.
40 export MKFS_OPTIONS="-l version=1"
41 export MOUNT_OPTIONS="-o logbsize=64k"
43 # try and mount a v1 log with a v2 LRsize
48 # now make the fs a v2 fs and try to mount again
49 # it should succeed this time
50 xfs_chver -l 2 $SCRATCH_DEV | \
51 sed -e "s#$SCRATCH_DEV#SCRATCH_DEV#g" \
52 -e 's/[0-9][0-9]* AGs/N AGs/'