4 # Verify DMAPI functions
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2006 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
28 $PERL_PROG -ne "s/[0-9|a-f]+\s+\(dm/DMAPI_HANDLE \(dm/g ; print" |
29 $PERL_PROG -ne "s/hash [0-9]+/hash HASH/g; print"
32 # get standard environment, filters and checks
37 # real QA test starts here
39 _supported_os Linux IRIX
42 _scratch_mkfs_xfs >/dev/null 2>&1
45 DMAPI_FS_HANDLE="`${DMAPI_QASUITE1_DIR}cmd/path_to_fshandle $SCRATCH_MNT`"
47 ${DMAPI_QASUITE1_DIR}cmd/dm_handle $SCRATCH_MNT | _filter_handles