nix3-develop: correctly escape ASCII control characters for JSON

Fixes #991.
(cherry picked from commit 138c7161be)

Change-Id: Iafc7d9603fbc3615393d32d9630f0e8fe548950b
This commit is contained in:
Qyriad
2025-11-18 20:38:27 +01:00
parent ced467fe49
commit 53dc27f752
5 changed files with 50 additions and 10 deletions
+1
View File
@@ -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 ]]
)