mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-08-07 02:18:29 +00:00
tests: Fix 3 occurrences of stray '\' before '-'
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
0c9a6c4a12
commit
f7bfb5d8dc
@ -28,7 +28,7 @@ if [ -z "$(type -P fallocate)" ]; then
|
||||
exit 77
|
||||
fi
|
||||
|
||||
if ! fallocate --help 2>&1 | grep -q -E "\-\-posix"; then
|
||||
if ! fallocate --help 2>&1 | grep -q -E "\--posix"; then
|
||||
echo "This test requires fallocate to support --posix."
|
||||
exit 77
|
||||
fi
|
||||
|
||||
@ -23,7 +23,7 @@ PATH=${TOPBUILD}/src/swtpm_cert:$PATH
|
||||
|
||||
source "${TESTDIR}/common"
|
||||
|
||||
if ${CERTTOOL} --help | grep -q -E "\-\-verify-profile"; then
|
||||
if ${CERTTOOL} --help | grep -q -E "\--verify-profile"; then
|
||||
verify_profile="--verify-profile=medium"
|
||||
fi
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ PATH="${TOPBUILD}/src/swtpm_cert:$PATH"
|
||||
|
||||
source "${TESTDIR}/common"
|
||||
|
||||
if ${CERTTOOL} --help | grep -q -E "\-\-verify-profile"; then
|
||||
if ${CERTTOOL} --help | grep -q -E "\--verify-profile"; then
|
||||
verify_profile="--verify-profile=medium"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user