Skip to content

Commit

Permalink
test: skip shebang-direct under emulation
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Jun 18, 2023
1 parent 614492c commit 35b0049
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ execdirect() {
}

@test "shebang-direct" {
if [ -n "$BINFMT_EMULATOR" ]; then
skip "prepend_workdir_if_relative is altering the behaviour for args when run under emulation"
fi

execdirect ./shebang.sh foo bar1
assert_success
assert_output "./printargs ./shebang.sh foo bar1"
Expand Down

0 comments on commit 35b0049

Please sign in to comment.