command -v doesn't print anything to stderr, let's use the canonical
form with just >/dev/null.
echo "suspend not supported on this testbed, skipping"
return
fi
- if ! command -v evemu-device &>/dev/null; then
+ if ! command -v evemu-device >/dev/null; then
echo "command evemu-device not found, skipping"
return
fi
- if ! command -v evemu-event &>/dev/null; then
+ if ! command -v evemu-event >/dev/null; then
echo "command evemu-event not found, skipping"
return
fi
# shellcheck source=test/units/util.sh
. "$(dirname "$0")"/util.sh
-if ! command -v systemd-repart &>/dev/null; then
+if ! command -v systemd-repart >/dev/null; then
echo "no systemd-repart" >/skipped
exit 0
fi