From ba6123fc75adbfd1d44ac6b9d0ab299ab5975a33 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 11 Dec 2023 17:19:35 +0000 Subject: [PATCH] Fix broken tests 'if test -s ...' Thanks: Laszlo Ersek --- virt-v2v.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virt-v2v.spec b/virt-v2v.spec index 4f9b7ef..f82a763 100644 --- a/virt-v2v.spec +++ b/virt-v2v.spec @@ -263,7 +263,7 @@ export LIBGUESTFS_TRACE=1 # working. for f in windows.img fedora.img; do make -C test-data/phony-guests $f - if -s test-data/phony-guests/$f; then + if test -s test-data/phony-guests/$f; then ./run virt-v2v -v -x -i disk test-data/phony-guests/$f -o null fi done