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 MOUNT_OPTIONS="-o logbsize=64k"
42 # try and mount a v1 log with a v2 LRsize
44 _mkfs_log "-l version=1"
47 # now make the fs a v2 fs and try to mount again
48 # it should succeed this time
49 xfs_chver -l 2 $SCRATCH_DEV | \
50 sed -e "s#$SCRATCH_DEV#SCRATCH_DEV#g" \
51 -e 's/[0-9][0-9]* AGs/N AGs/'