head	1.1;
access;
symbols
	RELENG_9:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2012.10.03.00.41.46;	author marcel;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2012.10.03.00.41.46;	author svnexp;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2014.03.16.00.01.46;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@SVN rev 241146 on 2012-10-03 00:41:46Z by marcel

Merge bmake-20120831 from vendor/NetBSD/bmake/dist.

Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg
@
text
@# $NetBSD: modorder,v 1.2 2007/10/05 15:27:46 sjg Exp $

LIST=		one two three four five six seven eight nine ten
LISTX=		${LIST:Ox}
LISTSX:=	${LIST:Ox}
TEST_RESULT= && echo Ok || echo Failed

# unit-tests have to produce the same results on each run
# so we cannot actually include :Ox output.
all:
	@@echo "LIST      = ${LIST}"
	@@echo "LIST:O    = ${LIST:O}"
	# Note that 1 in every 10! trials two independently generated
	# randomized orderings will be the same.  The test framework doesn't
	# support checking probabilistic output, so we accept that the test
	# will incorrectly fail with probability 2.8E-7.
	@@echo "LIST:Ox   = `test '${LIST:Ox}' != '${LIST:Ox}' ${TEST_RESULT}`"
	@@echo "LIST:O:Ox = `test '${LIST:O:Ox}' != '${LIST:O:Ox}' ${TEST_RESULT}`"
	@@echo "LISTX     = `test '${LISTX}' != '${LISTX}' ${TEST_RESULT}`"
	@@echo "LISTSX    = `test '${LISTSX}' = '${LISTSX}' ${TEST_RESULT}`"
	@@echo "BADMOD 1  = ${LIST:OX}"
	@@echo "BADMOD 2  = ${LIST:OxXX}"
@


1.1.2.1
log
@file modorder was added on branch RELENG_9 on 2014-03-16 00:01:46 +0000
@
text
@d1 22
@


1.1.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/263212
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 22
# $NetBSD: modorder,v 1.2 2007/10/05 15:27:46 sjg Exp $

LIST=		one two three four five six seven eight nine ten
LISTX=		${LIST:Ox}
LISTSX:=	${LIST:Ox}
TEST_RESULT= && echo Ok || echo Failed

# unit-tests have to produce the same results on each run
# so we cannot actually include :Ox output.
all:
	@@echo "LIST      = ${LIST}"
	@@echo "LIST:O    = ${LIST:O}"
	# Note that 1 in every 10! trials two independently generated
	# randomized orderings will be the same.  The test framework doesn't
	# support checking probabilistic output, so we accept that the test
	# will incorrectly fail with probability 2.8E-7.
	@@echo "LIST:Ox   = `test '${LIST:Ox}' != '${LIST:Ox}' ${TEST_RESULT}`"
	@@echo "LIST:O:Ox = `test '${LIST:O:Ox}' != '${LIST:O:Ox}' ${TEST_RESULT}`"
	@@echo "LISTX     = `test '${LISTX}' != '${LISTX}' ${TEST_RESULT}`"
	@@echo "LISTSX    = `test '${LISTSX}' = '${LISTSX}' ${TEST_RESULT}`"
	@@echo "BADMOD 1  = ${LIST:OX}"
	@@echo "BADMOD 2  = ${LIST:OxXX}"
@


