mirror of
https://github.com/systemd/systemd
synced 2024-10-15 20:45:09 +00:00
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:
parent
60d064d3fd
commit
dcb17e3295
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue