aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-12-21 03:25:19 -0600
committerRob Landley <rob@landley.net>2019-12-21 03:25:19 -0600
commite4b41a30e4fd7da9b61837f0fc91705b53a81c06 (patch)
tree7ec6005d108ab0b00cd07e92c65f0f23a4660bfd /tests
parentde2ba955dac53cdf2c1810df83259a4155704d88 (diff)
downloadtoybox-e4b41a30e4fd7da9b61837f0fc91705b53a81c06.tar.gz
Tighten up unquote_file()
Diffstat (limited to 'tests')
-rwxr-xr-xtests/patch.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/patch.test b/tests/patch.test
index 788a1b01..42eed937 100755
--- a/tests/patch.test
+++ b/tests/patch.test
@@ -78,4 +78,11 @@ testing "filter timestamps" "patch > /dev/null && cat bork" \
five
"
+testing "quoted name" "patch > /dev/null && cat 'fruit bat'" \
+ "hello\n" "" '
+--- /dev/null
++++ "fruit bat"
+@@ -0,0 +1 @@
++hello
+'
# todo bork bork2