zsh-workers
 help / color / mirror / code / Atom feed
2492c418fc903185375f4f2f6dc5b1da5372fc20 blob 478 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
# Tests for BANG_HIST replacements

%prep

  [[ -t 0 ]] && print -u $ZTST_fd History tests write to /dev/tty

%test

  $ZTST_testdir/../Src/zsh -fis <<<'
  echo foo bar
  echo $(!!) again
  echo more $( !! )' 2>/dev/null
0:Regression test for history references in command substitution
>foo bar
>foo bar again
>more foo bar again
*?*
F:Check that a history bug introduced by workers/34160 is working again.
F:Discarded line of error output consumes prompts printed by "zsh -i".
debug log:

solving 2492c41 ...
found 2492c41 in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).