tests: Fix 3 occurrences of stray '\' before '-'

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2024-06-10 17:00:40 -05:00 committed by Stefan Berger
parent 0c9a6c4a12
commit f7bfb5d8dc
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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