summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-02 08:07:28 +0000
committerrillig <rillig@pkgsrc.org>2020-05-02 08:07:28 +0000
commite6ca836db7f75c4e4d03a42b9c4a3a0e8dd55c81 (patch)
tree8586ad514964d7c642dfc276602565dfc50de5b5 /regress
parent079bb52e89513dc3c5b360d81d60ffe3fdf645f6 (diff)
downloadpkgsrc-e6ca836db7f75c4e4d03a42b9c4a3a0e8dd55c81.tar.gz
regress/tools: reduce the number of backslashes in the code
Diffstat (limited to 'regress')
-rw-r--r--regress/tools/files/shquote-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/tools/files/shquote-test.sh b/regress/tools/files/shquote-test.sh
index 796913a05c9..29fa7001c4d 100644
--- a/regress/tools/files/shquote-test.sh
+++ b/regress/tools/files/shquote-test.sh
@@ -17,7 +17,7 @@ test_shquote '' becomes "''"
test_shquote ' ' becomes "' '"
test_shquote '!' becomes '!'
-test_shquote '"' becomes \'\"\'
+test_shquote '"' becomes "'\"'"
test_shquote '#' becomes "'#'"
test_shquote '$' becomes "'$'"
test_shquote '%' becomes '%'
@@ -34,7 +34,7 @@ test_shquote '>' becomes "'>'"
test_shquote '?' becomes "'?'"
test_shquote '@ABCDEFGHIJKLMNOPQRSTUVWXYZ' becomes '@ABCDEFGHIJKLMNOPQRSTUVWXYZ'
test_shquote '[' becomes "'['"
-test_shquote '\' becomes \'\\\'
+test_shquote '\' becomes "'\\'"
test_shquote ']' becomes "']'"
test_shquote '^' becomes "'^'"
test_shquote '_' becomes '_'