4 # Run the t_immutable test program for immutable/append-only files.
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
17 timmutable=$here/src/t_immutable
19 status=1 # failure is the default!
20 trap "_cleanup; exit \$status" 0 1 2 3 15
25 echo "*** cleaning up"
26 $timmutable -r $SCRATCH_MNT/$seq
30 # get standard environment, filters and checks
38 [ -x $timmutable ] || _notrun "t_immutable was not built for this platform"
40 # real QA test starts here
41 _scratch_mkfs_xfs 2>&1 >/dev/null || _fail "mkfs failed"
42 _scratch_mount || _fail "mount failed"
44 echo "*** starting up"
45 $timmutable -c $SCRATCH_MNT/$seq