From 2a65a90f61715e3144c31dd5839ccd28f16d4e3d Mon Sep 17 00:00:00 2001 From: Bart Venter Date: Sun, 18 Aug 2024 23:22:09 +0000 Subject: [PATCH] chore(scripts): Update test script to replace forward slashes in modflag --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index 6bbef25..0633122 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -58,7 +58,7 @@ for dir in "${!gotestflags[@]}"; do coverageflags=( '-f' "${dir}/$modcoverage" '-p' "${workspace}${dir#.}" - "-F" "$modflag" + '-F' "${modflag//\//_}" ) [[ ${CI:-false} != "true" ]] && coverageflags+=('-d')