BuildSourceImage icon indicating copy to clipboard operation
BuildSourceImage copied to clipboard

bug: CI fails with trailing slash on `-o .../` path

Open vbatts opened this issue 6 years ago • 0 comments

==> Running integration tests
TMPDIR= bats  test/
1..7
ok 1 Help
ok 2 Version
ok 3 List Drivers
ok 4 No input
not ok 5 build from RPMS
# (in test file test/01-from_rpms.bats, line 15)
#   `[[ ${lines[${n}]} =~ "[SrcImg][INFO] copied to oci:/output:latest-source" ]]' failed
# temporary directory: /tmp/tmp.YGAMC0VanG
ok 6 build from RPMS and push
not ok 7 Build from image reference
# (in test file test/02-from_image_ref.bats, line 21)
#   `[[ ${lines[${n}]} =~ "[SrcImg][INFO] copied to oci:/output:latest-source" ]]' failed
# temporary directory: /tmp/tmp.aOWxgoZTUf
make: *** [test-integration] Error 1

but I could not get this to reproduce by running podman run -it -v $(pwd)/SRCRPMS:/data:ro bsi -s /data -o /output/ directly

vbatts avatar Sep 26 '19 19:09 vbatts