summaryrefslogtreecommitdiff
path: root/crash/xfscrash
diff options
context:
space:
mode:
authorChandra Seetharaman <sekharan@us.ibm.com>2013-04-18 17:44:02 +0000
committerRich Johnston <rjohnston@sgi.com>2013-04-19 07:13:46 -0500
commit187bccd310dc253feaebd69df4ccdda21eee12d0 (patch)
tree189b88abf834450dcd9d65e80831465e8b42b981 /crash/xfscrash
parent2519a97d1083efca79006ba5bd4ddb9f4af65a5e (diff)
xfstests: Remove dependence of xfs_check script
Replace the usage of the script xfs_check and add the relevant code to xfstests. This is in preparation of the planned deprecation of xfs_check. Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
Diffstat (limited to 'crash/xfscrash')
-rwxr-xr-xcrash/xfscrash4
1 files changed, 2 insertions, 2 deletions
diff --git a/crash/xfscrash b/crash/xfscrash
index 7831d7ef..579b724d 100755
--- a/crash/xfscrash
+++ b/crash/xfscrash
@@ -120,11 +120,11 @@ _check()
if [ $expect -eq 0 ]
then
_echo " *** xfs_check ($LOG/check_clean.out)"
- xfs_check $TEST_DEV &> $LOG/check_clean.out || fail=1
+ _xfs_check $TEST_DEV &> $LOG/check_clean.out || fail=1
[ -s /tmp/xfs_check_clean.out ] && fail=1
else
_echo " *** xfs_check ($LOG/check_dirty.out)"
- xfs_check $TEST_DEV &> $LOG/check_dirty.out || fail=1
+ _xfs_check $TEST_DEV &> $LOG/check_dirty.out || fail=1
fi
if [ $fail -eq 0 -a $expect -eq 0 ]