4 # SEEK_DATA/SEEK_HOLE sanity tests.
6 # Improved by Jeff.liu@oracle.com
7 # Creater: josef@redhat.com
9 #-----------------------------------------------------------------------
10 # Copyright (c) 2011 Oracle Inc. All Rights Reserved.
11 # Copyright (c) 2011 Red Hat. All Rights Reserved.
13 # This program is free software; you can redistribute it and/or
14 # modify it under the terms of the GNU General Public License as
15 # published by the Free Software Foundation.
17 # This program is distributed in the hope that it would be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write the Free Software Foundation,
24 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 #-----------------------------------------------------------------------
28 owner=jeff.liu@oracle.com
31 echo "QA output created by $seq"
34 status=1 # failure is the default!
35 trap "_cleanup; exit \$status" 0 1 2 3 15
37 # get standard environment, filters and checks
44 BASE_TEST_FILE=$TEST_DIR/seek_sanity_testfile
46 [ -x $here/src/seek_sanity_test ] || _notrun "seek_sanitfy_tester not built"
50 eval "rm -f $BASE_TEST_FILE.*"
53 $here/src/seek_sanity_test $BASE_TEST_FILE > $seq.full 2>&1 ||
54 _fail "seek sanity check failed!"