Mercurial Hosting > bricolage
annotate runall.sh @ 2:078a17d15fa5
Support calling a spied command with arguments.
`b.sh` was not compatible with calling a spied command with arguments.
Example:
my_test() {
  spy diff
  diff --brief test/a test/b
  ok "$(cat $T/spy.diff.exit)" = 0
}
bricolage my_test
This was not work. `diff` was complaining about 'illegal option'.
This commit fix this.
| author | Jakukyo Friel <weakish@gmail.com> | 
|---|---|
| date | Sun, 29 Mar 2015 08:56:42 +0800 | 
| parents | ed67ca9ff4c7 | 
| children | 
