From: James Nunez Date: Tue, 20 Aug 2013 21:21:49 +0000 (-0600) Subject: LU-3787 test: Missing "$" on variable X-Git-Tag: 2.4.92~11 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=5375158bf772812b70369701b428acfc9e0ba32b;p=fs%2Flustre-release.git LU-3787 test: Missing "$" on variable In test 90 of replay-single, the argument of getstripe is $dir/file when it really should be $dir/$file. Getstripe fails since "file" does not exist. The patch adds the "$" to the argument of getstripe. Signed-off-by: James Nunez Change-Id: I253c358d2912b57b54024f02a0a1ca54094369a7 Reviewed-on: http://review.whamcloud.com/7403 Tested-by: Hudson Reviewed-by: Jian Yu Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index acb02d8..4e7e301 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -2744,8 +2744,8 @@ test_90() { # bug 19494 local uuid=$(ostuuid_from_index $i) for file in f$i all; do if [[ $dir/$file != $($LFS find --obd $uuid --name $file $dir) ]]; then - $GETSTRIPE $dir/file - error wrong stripe: $file, uuid: $uuid + $GETSTRIPE $dir/$file + error wrong stripe: $file, uuid: $uuid fi done done