pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/regress/tools/files



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat May  2 08:07:28 UTC 2020

Modified Files:
        pkgsrc/regress/tools/files: shquote-test.sh

Log Message:
regress/tools: reduce the number of backslashes in the code


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/regress/tools/files/shquote-test.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/regress/tools/files/shquote-test.sh
diff -u pkgsrc/regress/tools/files/shquote-test.sh:1.2 pkgsrc/regress/tools/files/shquote-test.sh:1.3
--- pkgsrc/regress/tools/files/shquote-test.sh:1.2      Wed May 22 20:47:05 2019
+++ pkgsrc/regress/tools/files/shquote-test.sh  Sat May  2 08:07:28 2020
@@ -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 '_'



Home | Main Index | Thread Index | Old Index