mirror of
https://github.com/containers/skopeo.git
synced 2025-04-27 02:51:02 +00:00
- Got TLS registry working, and test enabled. The trick was to copy the .crt file to a separate directory *without* the .key - auth test - set up a private XDG_RUNTIME_DIR, in case tests are being run by a real user. - signing test - remove FIXME comments; questions answered. - helpers.bash - document start_registries(); save a .crt file, not .cert; and remove unused stop_registries() - it's too hard to do right, and very easy for individual tests to 'podman rm -f' - run-tests - remove SKOPEO_BINARY definition, it's inconsistent with the one in helpers.bash Signed-off-by: Ed Santiago <santiago@redhat.com>
17 lines
260 B
Bash
Executable File
17 lines
260 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# run-tests - simple wrapper allowing shortcuts on invocation
|
|
#
|
|
|
|
TEST_DIR=$(dirname $0)
|
|
TESTS=$TEST_DIR
|
|
|
|
for i; do
|
|
case "$i" in
|
|
*.bats) TESTS=$i ;;
|
|
*) TESTS=$(echo $TEST_DIR/*$i*.bats) ;;
|
|
esac
|
|
done
|
|
|
|
bats $TESTS
|