Fix broken tests

'if test -s ...'

Thanks: Laszlo Ersek
This commit is contained in:
Richard W.M. Jones 2023-12-11 17:19:35 +00:00
parent 04f4df6031
commit ba6123fc75

View File

@ -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