xfstests: some refinements on "make depend"
[xfstests-dev.git] / setup
1 #!/bin/bash
2 #
3 # Copyright (c) 2003-2004 Silicon Graphics, Inc.  All Rights Reserved.
4 #
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation.
8 #
9 # This program is distributed in the hope that it would be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write the Free Software Foundation,
16 # Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17 #
18 if ! . ./common.config
19 then
20     echo "check: failed to source common.config"
21     exit 1
22 fi
23
24 [ "$USE_EXTERNAL"    = yes ] || USE_EXTERNAL=no
25 [ "$USE_LBD_PATCH"   = yes ] || USE_LBD_PATCH=no
26 [ "$USE_BIG_LOOPFS"  = yes ] || USE_BIG_LOOPFS=no
27 [ "$USE_ATTR_SECURE" = yes ] || USE_ATTR_SECURE=no
28 [ -z "$FSTYP" ] && FSTYP="xfs"
29
30 cat <<EOF
31 TEST: DIR=$TEST_DIR DEV=$TEST_DEV rt=[$TEST_RTDEV] log=[$TEST_LOGDEV]
32 TAPE: dev=[$TAPE_DEV] rmt=[$RMT_TAPE_DEV] rmtirix=[$RMT_TAPE_USER@$RMT_IRIXTAPE_DEV]
33 SCRATCH: MNT=$SCRATCH_MNT DEV=$SCRATCH_DEV rt=[$SCRATCH_RTDEV] log=[$SCRATCH_LOGDEV]
34 VARIABLES: external=$USE_EXTERNAL largeblk=$USE_LBD_PATCH fstyp=$FSTYP bigloopfs=$USE_BIG_LOOPFS attrsecure=$USE_ATTR_SECURE
35 EOF