aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cañuelo <ricardo.canuelo@collabora.com>2022-11-30 12:25:24 +0100
committerRicardo Cañuelo <ricardo.canuelo@collabora.com>2022-11-30 12:25:24 +0100
commit111757c2a37276f59da4c2ac99472e75d2ba695d (patch)
tree13ed952a7903d93ac433b148a2f7962103d230d7
parent920c0e32622e85615810d3da0fae27cf7ea0f69e (diff)
downloadxfstests-bld-111757c2a37276f59da4c2ac99472e75d2ba695d.tar.gz
gce-xfstests: fix grep command in image family fallback
When checking the error output after a failed "launch_vm", there's a grep command that doesn't specify the file to grep, so it waits on stdin. This fixes commit 0f7b3e19e8da0514f447b5126f76371afef89ac9 Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
-rwxr-xr-xrun-fstests/gce-xfstests2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-fstests/gce-xfstests b/run-fstests/gce-xfstests
index 67e5043c..d3732128 100755
--- a/run-fstests/gce-xfstests
+++ b/run-fstests/gce-xfstests
@@ -1183,7 +1183,7 @@ launch_vm 2> $ERRFILE
if test "$err" -gt 0 ; then
cat $ERRFILE
if grep -q images/family/xfstests-amd64 $ERRFILE ; then
- if grep -q "The project .* was not found" ; then
+ if grep -q "The project .* was not found" $ERRFILE; then
exit $err
fi
echo Retrying with the image family xfstests