[apparmor] [PATCH] clean up test suite output, remove bashisms

Kees Cook kees at ubuntu.com
Wed Nov 3 23:32:46 GMT 2010


This patch cleans up the testsuite output harder, and removes a bashism in
another clean target.

-Kees

---

Index: apparmor-ubuntu/libraries/libapparmor/testsuite/Makefile.am
===================================================================
--- apparmor-ubuntu.orig/libraries/libapparmor/testsuite/Makefile.am	2010-10-27 14:51:51.941490856 -0700
+++ apparmor-ubuntu/libraries/libapparmor/testsuite/Makefile.am	2010-10-27 14:52:09.119639167 -0700
@@ -15,6 +15,6 @@
 test_multi_multi_LDADD		= ../src/.libs/libapparmor.a
 
 clean-local:
-	rm -f tmp.err.* tmp.out.* site.exp site.bak
+	rm -rf tmp.err.* tmp.out.* site.exp site.bak test_multi/out
 
 EXTRA_DIST = test_multi/*.in test_multi/*.out test_multi/*.err
Index: apparmor-ubuntu/parser/Makefile
===================================================================
--- apparmor-ubuntu.orig/parser/Makefile	2010-10-27 14:52:18.538623860 -0700
+++ apparmor-ubuntu/parser/Makefile	2010-10-27 14:53:14.142630249 -0700
@@ -287,7 +287,7 @@
 	rm -f libstdc++.a
 	rm -f af_names.h
 	rm -f cap_names.h
-	-rm -rf techdoc.{aux,log,pdf,toc,txt} techdoc/
+	rm -rf techdoc.aux techdoc.log techdoc.pdf techdoc.toc techdor.txt techdoc/
 	make -s -C $(AAREDIR) clean
 	make -s -C po clean
 

-- 
Kees Cook
Ubuntu Security Team



More information about the AppArmor mailing list