mirror of
https://github.com/containers/youki
synced 2024-11-26 14:13:49 +01:00
18 lines
616 B
Bash
Executable File
18 lines
616 B
Bash
Executable File
# This is a temporary test-collection for validating youki runs correctly with podman in rootless mode
|
|
# This will be moved to a proper rust based test crate, similar to rust-integration tests soon
|
|
|
|
set -ex
|
|
|
|
runtime=$1
|
|
|
|
podman rm --force --ignore create-test # remove if existing
|
|
|
|
podman create --runtime $runtime --name create-test hello-world
|
|
log=$(podman start -a create-test)
|
|
echo $log | grep "This message shows that your installation appears to be working correctly"
|
|
podman rm create-test
|
|
|
|
rand=$(head -c 10 /dev/random | base64)
|
|
|
|
log=$(podman run --runtime $runtime fedora echo "$rand")
|
|
echo $log | grep $rand |