Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
more interactive shell troubles
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaudill committed Jun 5, 2024
1 parent 54c2ee8 commit bb0283e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/ch-image.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def main():
add_opts(sp, build.modify, deps_check=True, stog_init=True)
sp.add_argument("-c", metavar="CMD", action="append", default=[], nargs=1, help="foo")
sp.add_argument("-S", "--shell", metavar="shell", help="foo")
# FIXME: remove
# FIXME: rename
sp.add_argument("--ci-debug", action="store_true", help="CI debugging, remove this before merge!")
sp.add_argument("image_ref", metavar="IMAGE_REF", help="image to modify")
sp.add_argument("out_image", metavar="OUT_IMAGE", help="destination of modified image")
Expand Down
2 changes: 1 addition & 1 deletion test/build/50_ch-image.bats
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ EOF
[[ $output = *'output must be different from source image'* ]]

# non-existant shell
run ch-image modify -S "doesnotexist" -- alpine:3.17 tmpimg
run ch-image modify --ci-debug -S "doesnotexist" -- alpine:3.17 tmpimg
echo "$output"
[[ $status -eq 1 ]]
[[ $output = *'Unable to run shell:'* ]]
Expand Down

0 comments on commit bb0283e

Please sign in to comment.