summaryrefslogtreecommitdiff
path: root/test/system/README.md
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-06-19 10:46:48 -0400
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-06-28 12:27:45 -0400
commit19ddcf925162a6bfa8304b627c6583d645cc496b (patch)
tree5bd43550a09b595ecfc77d304595a7733b4bd8fd /test/system/README.md
parent9d49bda8f1346e0c92adc28e7066f8d8f9e6493b (diff)
downloadpodman-19ddcf925162a6bfa8304b627c6583d645cc496b.tar.gz
podman-19ddcf925162a6bfa8304b627c6583d645cc496b.tar.bz2
podman-19ddcf925162a6bfa8304b627c6583d645cc496b.zip
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>
Diffstat (limited to 'test/system/README.md')
-rw-r--r--test/system/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/system/README.md b/test/system/README.md
index 6ac408f4e..d98b1c0fe 100644
--- a/test/system/README.md
+++ b/test/system/README.md
@@ -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
=======================