components/tcsh/patches/006.tests.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 02 Nov 2015 11:02:02 -0800
changeset 5040 6242a3f0012d
parent 4341 10335b2a1e5d
child 5271 195e24ffa71a
permissions -rw-r--r--
22124201 TCSH Latest Patch 126630-03 changes the behavior of Exit . You cannot exit .

--- tcsh-6.18.01/Makefile.in.orig	Tue Apr 14 13:38:25 2015
+++ tcsh-6.18.01/Makefile.in	Tue Apr 14 13:39:03 2015
@@ -761,6 +761,16 @@
 check: atconfig $(srcdir)/tests/testsuite
 	$(SHELL) $(srcdir)/tests/testsuite
 
+sys-atconfig: atconfig
+	@gsed -e "s,AUTOTEST_PATH='.'",AUTOTEST_PATH='/usr/gnu/bin:/usr/bin', < \
+	    atconfig > sys-atconfig
+
+system-test: sys-atconfig $(srcdir)/tests/testsuite
+	@mv atconfig atconfig.orig
+	@cp sys-atconfig atconfig
+	$(SHELL) $(srcdir)/tests/testsuite
+	@mv atconfig.orig atconfig
+
 #
 # Dependencies
 #