Fix for external log/rt on the test device for auto-qa
authorfsgqa <fsgqa>
Tue, 27 May 2003 01:04:39 +0000 (01:04 +0000)
committerfsgqa <fsgqa>
Tue, 27 May 2003 01:04:39 +0000 (01:04 +0000)
common.rc

index 3d2cd32f031531b43b874372a71153f0560e98ec..47ee1e332e2aa964948dbd733ff51942340791cf 100644 (file)
--- a/common.rc
+++ b/common.rc
@@ -630,7 +630,10 @@ _check_filesystem()
 
 _check_test_fs()
 {
 
 _check_test_fs()
 {
-    _check_filesystem $TEST_DEV $TEST_LOGDEV
+    TEST_LOG=""
+    [ "$USE_EXTERNAL" = yes -a ! -z "$TEST_LOGDEV" ] && \
+        TEST_LOG="$TEST_LOGDEV"
+    _check_filesystem $TEST_DEV $TEST_LOG
 }
 
 _check_scratch_fs()
 }
 
 _check_scratch_fs()