]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
changes for running on IRIX
authorTim Shimmin <tes@sgi.com>
Fri, 30 Jul 2004 07:01:58 +0000 (07:01 +0000)
committerTim Shimmin <tes@sgi.com>
Fri, 30 Jul 2004 07:01:58 +0000 (07:01 +0000)
handle odd case where hostname where running is crackle

061
061.out

diff --git a/061 b/061
index 3c7be32c014326ae75062c8f5976e7b9f5de0978..5abb225a19a57a91ef3059da5e8c29d61501d859 100755 (executable)
--- a/061
+++ b/061
@@ -60,7 +60,9 @@ _supported_os IRIX Linux
 _create_dumpdir_fill_perm
 dump_file=src/dumpfile # override dump_file to checked-in dumpfile
 session_label="stress_056"
-_do_restore_file -Q # we have no quotas to restore
+# we have no quotas to restore
+# if we happen to run this on crackle then put the hostname back
+_do_restore_file -Q  | sed -e 's/HOSTNAME/crackle/g'
 _diff_compare_sub
 _ls_nodate_compare_sub
 
diff --git a/061.out b/061.out
index 37092e6ae0707896a941f1034f8945023407a18e..58ff6c281c6230751a4a327be9c39a5ed4674bac 100644 (file)
--- a/061.out
+++ b/061.out
@@ -9,7 +9,7 @@ xfsrestore: examining media file 0
 xfsrestore: found dump matching specified label:
 xfsrestore: hostname: crackle.melbourne.sgi.com
 xfsrestore: mount point: /spare1
-xfsrestore: volume: /hw/node/io/gio/hpc/scsi_ctlr/0/target/2/lun/0/disk/partition/1/char
+xfsrestore: volume: /dev/dsk/dks0d2s1
 xfsrestore: session time: TIME
 xfsrestore: level: 0
 xfsrestore: session label: "stress_056"