Add RUN priv'd test for build

Podman 1.4.1 had problems with builds with a
RUN command that tried to to a privliged command.

This adds a gating test for that situation.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
This commit is contained in:
TomSweeneyRedHat
2019-06-19 10:46:48 -04:00
parent 9d49bda8f1
commit 19ddcf9251
3 changed files with 33 additions and 1 deletions

View File

@ -42,6 +42,15 @@ should be reserved for a first-pass fail-fast subset of tests:
without having to wait for the entire test suite.
Running tests
=============
To run the tests locally in your sandbox, you can use one of these methods:
* make;PODMAN=./bin/podman bats ./test/system/070-build.bats # runs just the specified test
* make;PODMAN=./bin/podman bats ./test/system # runs all
To test as root:
* $ PODMAN=./bin/podman sudo --preserve-env=PODMAN bats test/system
Analyzing test failures
=======================