pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/regress/buildlink-transform
Module Name: pkgsrc
Committed By: rillig
Date: Sun Nov 24 08:58:29 UTC 2024
Modified Files:
pkgsrc/regress/buildlink-transform: Makefile
Log Message:
regress/buildlink-transform: fix quoted-arg test
In the shell command language, the 'case' statement applies different
expansion rules to the subject and the patterns. In particular, the
quotes are removed from the subject but not the patterns.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/regress/buildlink-transform/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/regress/buildlink-transform/Makefile
diff -u pkgsrc/regress/buildlink-transform/Makefile:1.23 pkgsrc/regress/buildlink-transform/Makefile:1.24
--- pkgsrc/regress/buildlink-transform/Makefile:1.23 Sun Nov 24 08:34:45 2024
+++ pkgsrc/regress/buildlink-transform/Makefile Sun Nov 24 08:58:29 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2024/11/24 08:34:45 rillig Exp $
+# $NetBSD: Makefile,v 1.24 2024/11/24 08:58:29 rillig Exp $
#
# Run many buildlink transform tests in a single regression test to avoid
# having to keep creating the wrapper scripts over and over again.
@@ -78,7 +78,7 @@ TEST_RESULT= runtest=`${SETENV} ${REGRES
${ECHO} "(${.TARGET}) got: $$runtest"; \
${ECHO} "(${.TARGET}) expected: $$expected"; \
case $$runtest in \
- $$expected) \
+ $$expected | "$$expected") \
${ECHO} "(${.TARGET}) result: PASS"; \
${ECHO} "${.TARGET}" >> ${PASSED_TESTS}; \
;; \
Home |
Main Index |
Thread Index |
Old Index