TEST-25-IMPORT: Skip if importctl not installed
machinectl import-* was split out into importctl which is a separately configurable component to machinectl and might not always be available.
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
if ! command -v importctl >/dev/null; then
|
||||
echo "importctl is not available to be chain-loaded from machinectl, skipping" >>/skipped
|
||||
exit 77
|
||||
fi
|
||||
|
||||
export SYSTEMD_PAGER=cat
|
||||
|
||||
dd if=/dev/urandom of=/var/tmp/testimage.raw bs=$((1024*1024+7)) count=5
|
||||
|
||||
Reference in New Issue
Block a user