From 92822568f9f216a75df3014068b92534371fbc74 Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 22 Oct 2008 21:33:28 +0000 Subject: [PATCH] Branch HEAD Improve error messages. --- lustre/tests/replay-ost-single.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/tests/replay-ost-single.sh b/lustre/tests/replay-ost-single.sh index 5902ebc..14b957c 100755 --- a/lustre/tests/replay-ost-single.sh +++ b/lustre/tests/replay-ost-single.sh @@ -52,7 +52,7 @@ test_0b() { run_test 0b "empty replay" test_1() { - date > $DIR/$tfile + date > $DIR/$tfile || error "error creating $DIR/$tfile" fail ost1 $CHECKSTAT -t file $DIR/$tfile || return 1 rm -f $DIR/$tfile @@ -61,11 +61,11 @@ run_test 1 "touch" test_2() { for i in `seq 10`; do - echo "tag-$i" > $DIR/$tfile-$i + echo "tag-$i" > $DIR/$tfile-$i || error "create $DIR/$tfile-$i" done fail ost1 for i in `seq 10`; do - grep -q "tag-$i" $DIR/$tfile-$i || error "f2-$i" + grep -q "tag-$i" $DIR/$tfile-$i || error "grep $DIR/$tfile-$i" done rm -f $DIR/$tfile-* } -- 1.8.3.1