summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-03-18 15:22:57 +0100
committerKlement Sekera <ksekera@cisco.com>2021-03-18 15:26:21 +0100
commitaa7a2a1f32c9a91ea1ba04aa661b6ccddac2a79f (patch)
tree2a2092455587943ed4b89d1565f1ae0d2ec238bc
parentf3b5d702c11bb2b1c1691c155fd620d65d1fd4ce (diff)
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 <ksekera@cisco.com> Change-Id: I2ef87e991223ee60892d56af1482025d91e77d46
-rw-r--r--test/Makefile1
1 files changed, 1 insertions, 0 deletions
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)