summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-09-07 10:27:57 +0000
committerjlam <jlam@pkgsrc.org>2004-09-07 10:27:57 +0000
commitbf1ae4cd1d54677a6c3f58da5969dba8fe4e114d (patch)
tree1e3aa82af0cf53152bfd45ab88fbb16e754c62bb /regress
parent491b7815d4ee7b80897de0be3192d5f83c4012d7 (diff)
downloadpkgsrc-bf1ae4cd1d54677a6c3f58da5969dba8fe4e114d.tar.gz
Add a test for correctness of oddly-quoted arguments.
Diffstat (limited to 'regress')
-rw-r--r--regress/buildlink-transform/tests/quoted-arg.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/regress/buildlink-transform/tests/quoted-arg.mk b/regress/buildlink-transform/tests/quoted-arg.mk
new file mode 100644
index 00000000000..93504364e54
--- /dev/null
+++ b/regress/buildlink-transform/tests/quoted-arg.mk
@@ -0,0 +1,8 @@
+# $NetBSD: quoted-arg.mk,v 1.1 2004/09/07 10:27:57 jlam Exp $
+
+.PHONY: quoted-arg
+do-regress: quoted-arg
+quoted-arg:
+ @test='-D"DEFAULT_MODULE_PATH=\"${LOCALBASE}/lib/security/\""'; \
+ expected='-D"DEFAULT_MODULE_PATH=\"${LOCALBASE}/lib/security/\""'; \
+ ${TEST_RESULT}