-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/system: Unbreak the downstream Fedora CI
The working directory from which bats(1) is invoked might not be part of the Toolbx container. eg., the downstream Fedora CI invokes the tests as: $ cd /path/to/toolbox/test/system $ bats . ... and it led to: not ok 8 help: Try unknown command (forwarded to host) # tags: commands-options # (from function `assert_line' in file ./libs/bats-assert/src/assert.bash, line 488, # in test file ./002-help.bats, line 135) # `assert_line --index 0 "Error: unknown command \"foo\" for \"toolbox\""' failed # # -- line differs -- # index : 0 # expected : Error: unknown command "foo" for "toolbox" # actual : Error: crun: chdir to `/usr/share/toolbox/test/system`: No such file or directory: OCI runtime attempted to invoke a command that was not found # -- # #1560
- Loading branch information
1 parent
57a4b49
commit 1e90c72
Showing
4 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters