[Libguestfs] [PATCH 2/2] tests: fix rhbz1370424 to use proper path
Nikolay Shirokovskiy
nikolay.shirokovskiy at openvz.org
Fri Apr 8 12:24:51 UTC 2022
Test fails as it cannot find .xml file. Turns out $pwd=./tests and
and not ./tests/regressions as supposed in script.
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at openvz.org>
---
tests/regressions/rhbz1370424.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/regressions/rhbz1370424.sh b/tests/regressions/rhbz1370424.sh
index f12e160ed..fd91bd0d6 100755
--- a/tests/regressions/rhbz1370424.sh
+++ b/tests/regressions/rhbz1370424.sh
@@ -27,7 +27,7 @@ skip_if_skipped
guestfish <<EOF
-add-domain rhbz1370424 \
- libvirturi:test://$(pwd)/rhbz1370424.xml \
+ libvirturi:test://$srcdir/regressions/rhbz1370424.xml \
readonly:true
# The test is just that the above command does not segfault.
# We don't need to do anything else here.
--
2.35.1
More information about the Libguestfs
mailing list