Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

New test failure



I didn't follow the discussion closely, but I think the recent
shwordsplit changes require a test update:

Running test: SH_WORD_SPLIT inside $(...) inside ${...}
*** /tmp/zsh.ztst.out.31468     Wed Feb 22 08:49:19 2012
--- /tmp/zsh.ztst.tout.31468    Wed Feb 22 08:49:19 2012
***************
*** 1 ****
! _'one' 'two' 'three'_
--- 1,3 ----
! _'one'
! 'two'
! 'three'_
Test /opt/src/zsh-2012-02-22/Test/D04parameter.ztst failed: output
differs from expected as shown above for:
  (setopt shwordsplit # ensure this doesn't get set in main shell...
  test_splitting ()
  {
    array="one two three"
    for e in $array; do
      echo "'$e'"
    done
  }
  test_split_var=
  : ${test_split_var:=$(test_splitting)}
  echo "_${test_split_var}_")
Was testing: SH_WORD_SPLIT inside $(...) inside ${...}
/opt/src/zsh-2012-02-22/Test/D04parameter.ztst: test failed.


  - Vin



Messages sorted by: Reverse Date, Date, Thread, Author