[m-dev.] trivial diff: fix test case fialure

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Jan 10 16:27:13 AEDT 2001


Estimated hours taken: 0.1

tests/hard_coded/exceptions/Mmakefile:
	Fix a bug: the sed expression "s/exception.m:.../.../"
	was also triggering for "test_uncaught_exception.m:.../...".

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/hard_coded/exceptions/Mmakefile,v
retrieving revision 1.5
diff -u -d -u -r1.5 Mmakefile
--- Mmakefile	2001/01/07 03:05:42	1.5
+++ Mmakefile	2001/01/10 05:15:38
@@ -33,7 +33,7 @@
 		grep . $@.tmp; \
 		exit 1; \
 	else \
-		sed -e 's/exception.m:[0-9]*/exception.m:NNNN/g' \
+		sed -e '/pred exception/s/exception.m:[0-9]*/exception.m:NNNN/g' \
 			< $@.tmp > $@ ; \
 		rm -f $@.tmp; \
 	fi

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list