From: Franck Bui Date: Tue, 21 Mar 2023 15:47:06 +0000 (+0100) Subject: test: clean up $STATEDIR too X-Git-Tag: v254-rc1~893^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=256a835f1c6c646a55039659aa2db186fbeb5c5d;p=thirdparty%2Fsystemd.git test: clean up $STATEDIR too --- diff --git a/test/test-functions b/test/test-functions index 6038b710b2b..11c5da3cb1c 100644 --- a/test/test-functions +++ b/test/test-functions @@ -3036,6 +3036,7 @@ _test_cleanup() { fi [[ -n "$TESTDIR" ]] && rm -vfr "$TESTDIR" [[ -n "$STATEFILE" ]] && rm -vf "$STATEFILE" + [[ -n "$STATEDIR" ]] && rm -vfr "$STATEDIR" ) || : }