changeset 52746:4c99bb87891b

test-config: handle multiple path separators on Windows This isn't a current problem because the only thing currently passed is in the form `"file1:file2"`. When I had to patch in a 3rd file to load an extension, that caused the config to not be read from those two files, because only the first `:` was replaced. Let's save somebody else time in the future if they add another file.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 31 Jan 2025 20:32:32 -0500
parents 8780d5707812
children d13c2ae3c340
files tests/test-config.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-config.t	Thu Feb 06 00:56:25 2025 -0500
+++ b/tests/test-config.t	Fri Jan 31 20:32:32 2025 -0500
@@ -3,7 +3,7 @@
 
 #if windows
   $ path_list_var() {
-  >     echo $1 | sed 's/:/;/'
+  >     echo $1 | sed 's/:/;/g'
   > }
 #else
   $ path_list_var() {