QA updates
[xfstests-dev.git] / common.rc
index 0d4322fdf543e6d0cdb0deb568f72b4fb98ee222..2dc706d888f77c714468d89be9783bc56ad8df4b 100644 (file)
--- a/common.rc
+++ b/common.rc
@@ -666,8 +666,13 @@ then
         # $TEST_DEV is not mounted
         if ! _test_mount
         then
-            echo "common.rc: could not mount $TEST_DEV on $TEST_DIR"
-            exit 1
+            echo "common.rc: retrying test device mount with external set"
+            [ "$USE_EXTERNAL" != "yes" ] && USE_EXTERNAL=yes
+            if ! _test_mount
+            then
+                echo "common.rc: could not mount $TEST_DEV on $TEST_DIR"
+                exit 1
+            fi
         fi
     fi