4 # File descriptor to handle conversion
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 $SED_PROG -e "s#$qa_file#QA_FILE#g" \
29 -e "s#$SCRATCH_MNT#SCRATCH_MNT#g"
34 $PERL_PROG -ne 's/handle [0-f]+/handle HANDLE/ ; print'
37 # get standard environment, filters and checks
42 # real QA test starts here
44 _supported_os Linux IRIX
47 _scratch_mkfs_xfs >/dev/null 2>&1
51 qa_file=$SCRATCH_MNT/dmapi_hole_file
54 ${DMAPI_QASUITE1_DIR}cmd/fd_to_handle $SCRATCH_MNT | _filter_paths | _filter_handles
55 ${DMAPI_QASUITE1_DIR}cmd/fd_to_handle $qa_file | _filter_paths | _filter_handles