From: adilger Date: Tue, 26 Aug 2008 07:27:56 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_100~1^131~1 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=e7f205c35a5167efa5126c2f159e0f56c1cbe4b2;p=fs%2Flustre-release.git Branch b1_8_gate Fix incorrect error checking in CHROOT case, and incorrect error handling that hid the problem. b=16798 --- diff --git a/lustre/tests/rundbench b/lustre/tests/rundbench index ce51eaf..200dad2 100755 --- a/lustre/tests/rundbench +++ b/lustre/tests/rundbench @@ -48,7 +48,7 @@ if [ "x$CHROOT" == "xyes" ]; then cp `which dbench` $DIR LIBS71=$(ldd $DIR/dbench|sed -e 's/\t*//' -e 's/.*=> //' -e 's/ .*//' -e 's/^\///') (cd / && tar chf - $LIBS71) | (cd $DIR && tar xvf -) - [ $? = 0 ] && ( echo "can't copy libs $LIBS71 to $DIR" && exit 1 ) + [ $? != 0 ] && echo "can't copy libs $LIBS71 to $DIR" && exit 1 RUN="chroot $DIR" PREFIX="in" PATH=.:/:$PATH