summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2018-10-04 12:18:46 -0400
committerLaurent Vivier <laurent@vivier.eu>2018-10-26 17:17:32 +0200
commit49cedf1742d678c1f96f308325a2bc8894be41ed (patch)
treeb5a840fe19116060d8dc2e22464b708b74fa91f0
parent8c9a895aafc332e04a790cf960b8061b04eb7acc (diff)
downloadfocaccia-qemu-49cedf1742d678c1f96f308325a2bc8894be41ed.tar.gz
focaccia-qemu-49cedf1742d678c1f96f308325a2bc8894be41ed.zip
qemu-iotests: fix filename containing checks
Commit cce293a2945 moved some functions from common.config to
common.rc, but the error messages still reference the old file
location.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20181004161852.11673-5-crosa@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--tests/qemu-iotests/common.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index 44bee16a5e..70ca65b49b 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -170,7 +170,7 @@ if [ ! -e "$TEST_DIR" ]; then
 fi
 
 if [ ! -d "$TEST_DIR" ]; then
-    echo "common.config: Error: \$TEST_DIR ($TEST_DIR) is not a directory"
+    echo "common.rc: Error: \$TEST_DIR ($TEST_DIR) is not a directory"
     exit 1
 fi
 
@@ -179,7 +179,7 @@ if [ -z "$REMOTE_TEST_DIR" ]; then
 fi
 
 if [ ! -d "$SAMPLE_IMG_DIR" ]; then
-    echo "common.config: Error: \$SAMPLE_IMG_DIR ($SAMPLE_IMG_DIR) is not a directory"
+    echo "common.rc: Error: \$SAMPLE_IMG_DIR ($SAMPLE_IMG_DIR) is not a directory"
     exit 1
 fi