Module Name: othersrc Committed By: agc Date: Tue Jan 15 02:02:54 UTC 2013
Modified Files: othersrc/external/bsd/netdiff/bin/cmp: Makefile Log Message: proper test for case-insensitive netcmp(1). To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/netdiff/bin/cmp/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/external/bsd/netdiff/bin/cmp/Makefile diff -u othersrc/external/bsd/netdiff/bin/cmp/Makefile:1.1 othersrc/external/bsd/netdiff/bin/cmp/Makefile:1.2 --- othersrc/external/bsd/netdiff/bin/cmp/Makefile:1.1 Tue Jan 15 01:49:23 2013 +++ othersrc/external/bsd/netdiff/bin/cmp/Makefile Tue Jan 15 02:02:53 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2013/01/15 01:49:23 agc Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/15 02:02:53 agc Exp $ .include <bsd.own.mk> @@ -31,6 +31,9 @@ t: ${PROG} -netdiff cmp.out netcmp.out rm -f cmp.out netcmp.out -env LD_LIBRARY_PATH=${LIB_NETDIFF_DIR} ./${PROG} -i f1 f2 > netcmp.out - -cmp f1 f2 > cmp.out - -netdiff cmp.out netcmp.out - rm -f cmp.out netcmp.out + @if [ -s netcmp.out ]; then \ + echo "Case insensitive cmp failed"; \ + ls -l netcmp.out; \ + exit 1; \ + fi + rm -f netcmp.out