Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Neff <[email protected]>
  • Loading branch information
andyneff committed Dec 4, 2024
1 parent 27d88d3 commit c23afc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 3 additions & 2 deletions linux/just_files/new_just
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ function docker_env_quote_escape()
function bash_default_quote_escape()
{
local foo="${1//\'/\\\'}"
echo "${foo//\"/\\\"}"
local foo=${1//\"/\\\"}
foo=${foo//\'/\\\'}
echo "${foo}"
}
# $1 - Var name
Expand Down
7 changes: 2 additions & 5 deletions tests/int/test-new_just.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -496,11 +496,8 @@ begin_test "New just docker test"
--python-package yap \
--app yaan --repo tmp

if [ "${OS-}" = "Windows_NT" ]; then
cp -r ${VSI_COMMON_DIR} "${TESTDIR}/v.s.i d i'r${tough_name}"
else
ln -s ${VSI_COMMON_DIR} "${TESTDIR}/v.s.i d i'r${tough_name}"
fi
# Since we are doing docker mounting, vsi dir must be copied, not symlinked
cp -r ${VSI_COMMON_DIR} "${TESTDIR}/v.s.i d i'r${tough_name}"

. "set u.p f i'l${tough_name}e"

Expand Down

0 comments on commit c23afc1

Please sign in to comment.