projects
/
xfstests-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b5a59b2
)
define an _unexpected routine to handle unexpected command failure.
author
Nathan Scott
<nathans@sgi.com>
Tue, 18 Sep 2001 23:49:43 +0000
(23:49 +0000)
committer
Nathan Scott
<nathans@sgi.com>
Tue, 18 Sep 2001 23:49:43 +0000
(23:49 +0000)
044
patch
|
blob
|
history
diff --git
a/044
b/044
index 014e54512ceaef357322a9b23374f9635b4eb62d..af6e7604cbcd2920a39d1a5e44573074f07d6ec9 100755
(executable)
--- a/
044
+++ b/
044
@@
-110,6
+110,12
@@
_check_require_logdev()
fi
}
+_unexpected()
+{
+ echo " !!! unexpected XFS command failure"
+ status=1
+ exit
+}
# real QA test starts here
@@
-124,7
+130,7
@@
_check_mount
_check_require_logdev
echo "*** set uuid"
-xfs_db -x $SCRATCH_DEV -l $SCRATCH_LOGDEV -c "uuid 02020202-0202-0202-0202-020202020202"
\
+xfs_db -x $SCRATCH_DEV -l $SCRATCH_LOGDEV -c "uuid 02020202-0202-0202-0202-020202020202"
|| _unexpected
_check_mount