Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
singularity
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
BioHPC
singularity
Commits
da1e1dc9
Commit
da1e1dc9
authored
7 years ago
by
David Trudgian
Browse files
Options
Downloads
Patches
Plain Diff
Add test for docker aufs whiteout
parent
1fe28ee9
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/21-build_docker.sh
+6
-0
6 additions, 0 deletions
tests/21-build_docker.sh
with
6 additions
and
0 deletions
tests/21-build_docker.sh
+
6
−
0
View file @
da1e1dc9
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment