From: Klement Sekera Date: Thu, 18 Mar 2021 14:22:57 +0000 (+0100) Subject: tests: remove shm files created by vpp on reset X-Git-Tag: v21.10-rc0~361 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F83%2F31683%2F2;p=vpp.git tests: remove shm files created by vpp on reset Even though we don't use shm transport anymore, vpp still populates shm. Add cleanup before running tests to avoid the nuisance of running out of space on /dev/shm. Type: fix Fixes: eb506becd038f081bc7ac340412d3685425bb8b4 Signed-off-by: Klement Sekera Change-Id: I2ef87e991223ee60892d56af1482025d91e77d46 --- diff --git a/test/Makefile b/test/Makefile index 5fe86d9f401..6846eb9e12a 100644 --- a/test/Makefile +++ b/test/Makefile @@ -257,6 +257,7 @@ shell: test-dep .PHONY: reset reset: + @rm -f /dev/shm/vpp-unittest-* @rm -rf /tmp/vpp-unittest-* @rm -f /tmp/api_post_mortem.* @rm -rf $(FAILED_DIR)