Skip to content
Snippets Groups Projects
Commit da1e1dc9 authored by David Trudgian's avatar David Trudgian
Browse files

Add test for docker aufs whiteout

parent 1fe28ee9
No related merge requests found
...@@ -60,6 +60,12 @@ stest 1 sudo singularity build -F "$CONTAINER" docker://something_that_doesnt_ex ...@@ -60,6 +60,12 @@ stest 1 sudo singularity build -F "$CONTAINER" docker://something_that_doesnt_ex
stest 1 singularity exec "$CONTAINER" true stest 1 singularity exec "$CONTAINER" true
stest 1 singularity exec "$CONTAINER" false stest 1 singularity exec "$CONTAINER" false
# AUFS sanity tests
stest 0 sudo singularity build -F "$CONTAINER" docker://dctrud/docker-aufs-sanity
stest 0 singularity exec "$CONTAINER" ls /test/whiteout-dir/file2 /test/whiteout-file/file2 /test/normal-dir/file2
stest 1 singularity exec "$CONTAINER" ls /test/whiteout-dir/file1 /test/whiteout-file/file1
stest 1 singularity exec "$CONTAINER" ls /test/*/.wh*
if singularity_which docker >/dev/null 2>&1; then if singularity_which docker >/dev/null 2>&1; then
# make sure local test does not exist, ignore errors # make sure local test does not exist, ignore errors
sudo docker kill registry >/dev/null 2>&1 sudo docker kill registry >/dev/null 2>&1
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment