update build notes for dmapi tests
[xfstests-dev.git] / 102
1 #! /bin/sh
2 # FS QA Test No. 102
3 #
4 # This tests mkfs_udf/mkudffs and the device detection code
5 # Modified from UDFQA test 031.
6 #
7 #-----------------------------------------------------------------------
8 #  Copyright (c) 2000-2004 Silicon Graphics, Inc.  All Rights Reserved.
9 #  This program is free software; you can redistribute it and/or modify
10 #  it under the terms of the GNU General Public License as published by
11 #  the Free Software Foundation; either version 2 of the License, or
12 #  (at your option) any later version.
13 #
14 #  This program is distributed in the hope that it will be useful,
15 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 #  GNU General Public License for more details.
18 #
19 #  You should have received a copy of the GNU General Public License
20 #  along with this program; if not, write to the Free Software
21 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
22 #  USA
23 #
24 #  Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane,
25 #  Mountain View, CA 94043, USA, or: http://www.sgi.com
26 #-----------------------------------------------------------------------
27 #
28 # creator
29 owner=ajones@sgi.com
30
31 seq=`basename $0`
32 echo "QA output created by $seq"
33
34 here=`pwd`
35 tmp=/tmp/$$
36 status=1        # failure is the default!
37 trap "_cleanup; exit \$status" 0 1 2 3 15
38
39 _cleanup()
40 {
41     rm -f $tmp.*
42     cd /
43     _cleanup_testdir
44 }
45 # get standard environment, filters and checks
46 . ./common.rc
47 . ./common.filter
48
49 # real QA test starts here
50 _supported_fs udf 
51 _supported_os Linux IRIX
52
53 _require_scratch
54 _setup_udf_scratchdir
55
56 # Checks the udf filesystem
57 _check_udf_filesystem $SCRATCH_DEV
58
59 echo "Finished"
60
61 # success, all done
62 status=0
63 exit