Add a couple of test boxes for convenience.

Cleanup some endline whitespace.
Merge of master-melb:xfs-cmds:22996a by kenmcd.

  Add a couple of test boxes for convenience.
  Cleanup some endline whitespace.
This commit is contained in:
Tim Shimmin
2005-06-27 14:57:49 +00:00
parent 33b57b6af6
commit f55ff6b3fe
+30 -16
View File
@@ -1,33 +1,33 @@
##/bin/sh ##/bin/sh
# #
# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved. # Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved.
# #
# This program is free software; you can redistribute it and/or modify it # This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as # under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation. # published by the Free Software Foundation.
# #
# This program is distributed in the hope that it would be useful, but # This program is distributed in the hope that it would be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of # WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# #
# Further, this software is distributed without any warranty that it is # Further, this software is distributed without any warranty that it is
# free of the rightful claim of any third person regarding infringement # free of the rightful claim of any third person regarding infringement
# or the like. Any license provided herein, whether implied or # or the like. Any license provided herein, whether implied or
# otherwise, applies only to this software file. Patent licenses, if # otherwise, applies only to this software file. Patent licenses, if
# any, provided herein do not apply to combinations of this program with # any, provided herein do not apply to combinations of this program with
# other software, or any other product whatsoever. # other software, or any other product whatsoever.
# #
# You should have received a copy of the GNU General Public License along # You should have received a copy of the GNU General Public License along
# with this program; if not, write the Free Software Foundation, Inc., 59 # with this program; if not, write the Free Software Foundation, Inc., 59
# Temple Place - Suite 330, Boston MA 02111-1307, USA. # Temple Place - Suite 330, Boston MA 02111-1307, USA.
# #
# Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy, # Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
# Mountain View, CA 94043, or: # Mountain View, CA 94043, or:
# #
# http://www.sgi.com # http://www.sgi.com
# #
# For further information regarding this notice, see: # For further information regarding this notice, see:
# #
# http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ # http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
# #
@@ -40,7 +40,7 @@
# TEST_DEV - device for file system containing TEST_DIR # TEST_DEV - device for file system containing TEST_DIR
# SCRATCH_DEV - device you can make a scratch file system on # SCRATCH_DEV - device you can make a scratch file system on
# SCRATCH_MNT - mount point for scratch file system # SCRATCH_MNT - mount point for scratch file system
# #
# and optionally: # and optionally:
# SCRATCH_LOGDEV - scratch log device for external log testing # SCRATCH_LOGDEV - scratch log device for external log testing
# SCRATCH_RTDEV - scratch rt dev # SCRATCH_RTDEV - scratch rt dev
@@ -157,15 +157,15 @@ export XFS_IO_PROG="`set_prog_path xfs_io`"
case "$HOSTOS" in case "$HOSTOS" in
IRIX*) IRIX*)
export MKFS_XFS_PROG="`set_prog_path mkfs_xfs`" export MKFS_XFS_PROG="`set_prog_path mkfs_xfs`"
export MKFS_UDF_PROG="`set_prog_path mkfs_udf`" export MKFS_UDF_PROG="`set_prog_path mkfs_udf`"
export XFS_FSR_PROG="`set_prog_path /usr/etc/fsr_xfs`" export XFS_FSR_PROG="`set_prog_path /usr/etc/fsr_xfs`"
export MKFS_NFS_PROG="false" export MKFS_NFS_PROG="false"
;; ;;
Linux) Linux)
export MKFS_XFS_PROG="`set_prog_path mkfs.xfs`" export MKFS_XFS_PROG="`set_prog_path mkfs.xfs`"
export MKFS_UDF_PROG="`set_prog_path mkudffs`" export MKFS_UDF_PROG="`set_prog_path mkudffs`"
export XFS_FSR_PROG="`set_prog_path xfs_fsr`" export XFS_FSR_PROG="`set_prog_path xfs_fsr`"
export MKFS_NFS_PROG="false" export MKFS_NFS_PROG="false"
;; ;;
esac esac
@@ -328,7 +328,7 @@ known_hosts()
TAPE_DEV=/dev/tape TAPE_DEV=/dev/tape
RMT_TAPE_DEV=icy:/dev/st0 RMT_TAPE_DEV=icy:/dev/st0
RMT_TAPE_USER=guest RMT_TAPE_USER=guest
RMT_IRIXTAPE_DEV=snort:/dev/tape RMT_IRIXTAPE_DEV=snort:/dev/tape
;; ;;
emu) emu)
MODULAR=0 MODULAR=0
@@ -374,7 +374,21 @@ known_hosts()
RMT_TAPE_DEV=icy:/dev/st0 RMT_TAPE_DEV=icy:/dev/st0
RMT_TAPE_USER=guest RMT_TAPE_USER=guest
;; ;;
*) crackle)
#irix-crackle
TEST_DIR=/mnt/xfs
SCRATCH_MNT=/mnt/xfs2
TEST_DEV=/dev/dsk/dks0d1s3
SCRATCH_DEV=/dev/dsk/dks0d1s4
;;
tinkle)
#irix-patchbox-tinkle
TEST_DEV=/dev/dsk/dks0d2s0
TEST_DIR=/mnt/xfs_test
SCRATCH_DEV=/dev/dsk/dks0d2s1
SCRATCH_MNT=/mnt/xfs_scratch
;;
*)
echo "Error: need to define parameters for host $HOST" echo "Error: need to define parameters for host $HOST"
exit 1 exit 1
;; ;;