[selinux-testsuite PATCH] tests/binder: remove stray flag files with 'make clean'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Failed or incomplete test runs can leave temporary test files in
the binder test directory, remove them with 'make clean'.

  mkfifo: cannot create fifo \
    'binder/manager_flag': File exists
  mkfifo: cannot create fifo \
    'binder/service_provider_flag': File exists

Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx>
---
 tests/binder/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/binder/Makefile b/tests/binder/Makefile
index e78ad16..b89d4db 100644
--- a/tests/binder/Makefile
+++ b/tests/binder/Makefile
@@ -18,6 +18,6 @@ endif
 all: $(TARGETS)
 
 clean:
-	rm -f $(TARGETS)
+	rm -f $(TARGETS) manager_flag service_provider_flag
 
 $(TARGETS): $(DEPS)




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux