mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
tests/variables.sh: minor fix in failure error msg
(cherry picked from commit bdcbcf42415aaf120a4e3a98fd4af1f8b810018f)
This commit is contained in:
parent
593a5a8b7f
commit
62f8e744f1
1 changed files with 2 additions and 2 deletions
|
@ -733,9 +733,9 @@ _test_v() { eval "
|
|||
"; }
|
||||
expect='USUSUsusus'
|
||||
actual=$(_test_v var)
|
||||
[[ "$actual" = "$expect" ]] || err_exit "[[ -v var ]] expansion fails in loops (expected '$expect', got '$actual')"
|
||||
[[ "$actual" = "$expect" ]] || err_exit "[[ -v var ]] command fails in loops (expected '$expect', got '$actual')"
|
||||
actual=$(_test_v IFS)
|
||||
[[ "$actual" = "$expect" ]] || err_exit "[[ -v IFS ]] expansion fails in loops (expected '$expect', got '$actual')"
|
||||
[[ "$actual" = "$expect" ]] || err_exit "[[ -v IFS ]] command fails in loops (expected '$expect', got '$actual')"
|
||||
|
||||
# ======
|
||||
# Verify that importing untrusted environment variables does not allow evaluating
|
||||
|
|
Loading…
Reference in a new issue