mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
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:
@ -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
|
||||
=======================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user