Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Oct 5, 2023
1 parent 3efeeee commit 1df2ac7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions testdata/book/exec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ steps:
test: 'current.stdout contains "hello"'
-
exec:
command: echo $0
command: basename `echo $0`
shell: bash
test: 'current.stdout contains "bash"'
test: 'current.stdout == "bash\n"'
4 changes: 2 additions & 2 deletions testdata/exec.yml.debugger.golden
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ hello world!!

-----END STDERR-----
-----START COMMAND-----
echo $0
basename `echo $0`
-----END COMMAND-----
-----START STDOUT-----
/bin/bash
bash

-----END STDOUT-----
-----START STDERR-----
Expand Down
4 changes: 2 additions & 2 deletions testdata/exec.yml.runbook.golden
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ steps:
current.stdout == "hello world!!\n"
&& current.stderr == ""
- exec:
command: echo $0
command: basename `echo $0`
shell: bash
test: |
current.stdout == "/bin/bash\n"
current.stdout == "bash\n"
&& current.stderr == ""

0 comments on commit 1df2ac7

Please sign in to comment.