summaryrefslogtreecommitdiff
path: root/regress/buildlink-transform
diff options
context:
space:
mode:
authorjlam <jlam>2004-09-07 10:27:57 +0000
committerjlam <jlam>2004-09-07 10:27:57 +0000
commit64b0d6edb0deb928c42b1ee3af507de0c7a851ff (patch)
tree1e3aa82af0cf53152bfd45ab88fbb16e754c62bb /regress/buildlink-transform
parent5c7e5ed63104922008f85dd168cad3531f1873ee (diff)
downloadpkgsrc-64b0d6edb0deb928c42b1ee3af507de0c7a851ff.tar.gz
Add a test for correctness of oddly-quoted arguments.
Diffstat (limited to 'regress/buildlink-transform')
-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}