nix3-develop: correctly escape ASCII control characters for JSON
Fixes #991.
(cherry picked from commit 138c7161be)
Change-Id: Iafc7d9603fbc3615393d32d9630f0e8fe548950b
This commit is contained in:
@@ -132,6 +132,7 @@ set -u
|
||||
[[ ${arr2[1]} = $'\n' ]]
|
||||
[[ ${arr2[2]} = $'x\ny' ]]
|
||||
[[ $(fun) = blabla ]]
|
||||
[[ "$ASCII_ESC" = "$(printf "\e")" ]]
|
||||
[[ $PATH = $(jq -r .variables.PATH.value $TEST_ROOT/dev-env.json):$path ]]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user