diff --git a/parser/tst/Makefile b/parser/tst/Makefile index 76609d23e..ad0e79183 100644 --- a/parser/tst/Makefile +++ b/parser/tst/Makefile @@ -10,7 +10,7 @@ ifeq ($(VERBOSE),1) PROVE_ARG+=-v PYTEST_ARG = -v else - undefine VERBOSE + VERBOSE= endif all: tests diff --git a/tests/regression/apparmor/pivot_root.sh b/tests/regression/apparmor/pivot_root.sh index b46839e8b..35004fc9b 100755 --- a/tests/regression/apparmor/pivot_root.sh +++ b/tests/regression/apparmor/pivot_root.sh @@ -53,7 +53,7 @@ if [ -x "${FINDMNT}" ] && ${FINDMNT} -no PROPAGATION / > /dev/null 2>&1 ; then if [ "$(${FINDMNT} -no PROPAGATION /)" == "shared" ] ; then root_was_shared="yes" fi -elif [ "$(ps -hp1 -ocomm)" = "systemd" ] ; then +elif [ "$(ps hp1 -ocomm)" = "systemd" ] ; then # no findmnt or findmnt doesn't know the PROPAGATION column, # but init is systemd so assume rootfs is shared root_was_shared="yes"