containers / BuildSourceImage

Tool to build a source image based on an existing OCI image
GNU General Public License v2.0
29 stars 14 forks source link

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

Open vbatts opened 5 years ago

vbatts commented 5 years ago
==> 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