20460050 BASH should have some master test results to compare against
authorJames Chang <james.c.chang@Oracle.COM>
Tue, 28 Jul 2015 16:19:19 -0700
changeset 4710 014b5d8f49a6
parent 4709 fd98db93ff7c
child 4711 c2328acb8517
20460050 BASH should have some master test results to compare against
components/bash/Makefile
--- a/components/bash/Makefile	Tue Jul 28 14:47:36 2015 -0700
+++ b/components/bash/Makefile	Tue Jul 28 16:19:19 2015 -0700
@@ -87,7 +87,6 @@
 
 # The bash test harness needs the GNU userland utilities
 TEST_PATH = "PATH=$(BUILD_DIR_64):$(GNUBIN):$(USRBINDIR)"
-TEST_RESULTS_FILE = $(COMPONENT_TEST_RESULTS_DIR)/test-$(BITS)-results
 
 CONFIGURE_ENV +=	CFLAGS="$(CFLAGS)"
 CONFIGURE_ENV +=	LDFLAGS="$(LDFLAGS)"
@@ -138,7 +137,11 @@
 
 COMPONENT_TEST_DIR =		$(BUILD_DIR_64)
 COMPONENT_TEST_ENV =		- $(TEST_PATH)
-COMPONENT_TEST_TARGETS =	check > $(TEST_RESULTS_FILE) 2>&1
+
+# The tests use /tmp/xx, and there can only be one user running
+# the them at a time. Need to remove /tmp/xx after testing to 
+# avoid permission issues for other users running these tests
+COMPONENT_POST_TEST_ACTION =	rm -f /tmp/xx
 
 ASLR_MODE=$(ASLR_ENABLE)