summaryrefslogtreecommitdiff
path: root/073
diff options
context:
space:
mode:
authorptools <ptools>2004-06-15 07:32:36 +0000
committerptools <ptools>2004-06-15 07:32:36 +0000
commitcb6beb975950121f0569c5dede6136fb8ae0b8b8 (patch)
tree3e786c93b35c440e413cbc1193fbaac7c7567031 /073
parent2c3b0bab9fb135c23d320880196ad3c0c20a5537 (diff)
Fixed merge problems
Diffstat (limited to '073')
-rwxr-xr-x07311
1 files changed, 8 insertions, 3 deletions
diff --git a/073 b/073
index 3107543a..65c2f586 100755
--- a/073
+++ b/073
@@ -1,5 +1,5 @@
#! /bin/sh
-# XFS QA Test No. 073
+# FS QA Test No. 073
#
# Test xfs_copy
#
@@ -46,6 +46,7 @@ tmp=/tmp/$$
status=1 # failure is the default!
_cleanup()
{
+ cd /
umount $SCRATCH_MNT 2>/dev/null
umount $tmp.loop 2>/dev/null
[ -d $tmp.loop ] && rmdir $tmp.loop
@@ -79,7 +80,7 @@ _verify_copy()
[ $source = $SCRATCH_DEV ] && _scratch_mount
echo checking new image
- _check_filesystem $target
+ _check_xfs_filesystem $target
echo mounting new image on loopback
rmdir $target_dir 2>/dev/null
@@ -130,10 +131,14 @@ _verify_copy()
. ./common.rc
. ./common.filter
+
+# real QA test starts here
+_supported_fs xfs
+_supported_os Linux
+
[ "$USE_EXTERNAL" = yes ] && _notrun "Cannot xfs_copy with external devices"
[ -x /usr/sbin/xfs_copy ] || _notrun "xfs_copy binary not yet installed"
-# real QA test starts here
_require_scratch
_require_loop