aboutsummaryrefslogtreecommitdiffstats
path: root/main/augeas/0018-Shellvars-test-case-for-wrapping-command-arguments.patch
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-12-18 00:38:20 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-12-18 00:41:26 +0200
commit7457455c4f5071a919788f2caf66f393949ba4f7 (patch)
tree146a94a6d925f549b94b6bd0baeb5fd640b7f310 /main/augeas/0018-Shellvars-test-case-for-wrapping-command-arguments.patch
parent8f74515a7ef6bb73c87b77a718a3066e0a7201d0 (diff)
downloadaports-7457455c4f5071a919788f2caf66f393949ba4f7.tar.bz2
aports-7457455c4f5071a919788f2caf66f393949ba4f7.tar.xz
main/augeas: align patch set with upstream
01-18: committed to upstream 19: GH #332
Diffstat (limited to 'main/augeas/0018-Shellvars-test-case-for-wrapping-command-arguments.patch')
-rw-r--r--main/augeas/0018-Shellvars-test-case-for-wrapping-command-arguments.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/augeas/0018-Shellvars-test-case-for-wrapping-command-arguments.patch b/main/augeas/0018-Shellvars-test-case-for-wrapping-command-arguments.patch
new file mode 100644
index 0000000000..c3b4a21994
--- /dev/null
+++ b/main/augeas/0018-Shellvars-test-case-for-wrapping-command-arguments.patch
@@ -0,0 +1,36 @@
+From 18993cfd16cdf1c7876c508a5632d7765fa221a3 Mon Sep 17 00:00:00 2001
+From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+Date: Thu, 4 Dec 2014 18:29:58 +0200
+Subject: [PATCH 18/19] Shellvars: test case for wrapping command arguments
+
+---
+ lenses/tests/test_shellvars.aug | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/lenses/tests/test_shellvars.aug b/lenses/tests/test_shellvars.aug
+index 9a1878c..544226e 100644
+--- a/lenses/tests/test_shellvars.aug
++++ b/lenses/tests/test_shellvars.aug
+@@ -614,13 +614,18 @@ esac\n" =
+ (* Test: Shellvars.lns
+ Parse (almost) any command *)
+ test Shellvars.lns get "echo foobar 'and this is baz'
+-/usr/local/bin/myscript.sh with args\n" =
++/usr/local/bin/myscript.sh with args
++echo foo \
++bar\n" =
+ { "@command" = "echo"
+ { "@arg" = "foobar 'and this is baz'" }
+ }
+ { "@command" = "/usr/local/bin/myscript.sh"
+ { "@arg" = "with args" }
+ }
++ { "@command" = "echo"
++ { "@arg" = "foo \\\nbar" }
++ }
+
+ (* Test: Shellvars.lns
+ Support pipes in commands *)
+--
+2.5.0
+