diff options
author | Danila Kiver <danila.kiver@mail.ru> | 2019-07-06 20:45:26 +0300 |
---|---|---|
committer | Danila Kiver <danila.kiver@mail.ru> | 2019-07-06 20:45:26 +0300 |
commit | 8fde4194b6a21bc54d83260990e839da9e1fe1e8 (patch) | |
tree | 0484912d050041868dae9021489c870017a1332a | |
parent | 1f435bf92cc5e828cb36e658d695070473a41f96 (diff) | |
download | podman-8fde4194b6a21bc54d83260990e839da9e1fe1e8.tar.gz podman-8fde4194b6a21bc54d83260990e839da9e1fe1e8.tar.bz2 podman-8fde4194b6a21bc54d83260990e839da9e1fe1e8.zip |
Move skipping systemd tests to early setup.
There is no meaning of performing setup/teardown for these tests
when we even can not work with systemd.
Signed-off-by: Danila Kiver <danila.kiver@mail.ru>
-rw-r--r-- | test/system/250-generate-systemd.bats | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/system/250-generate-systemd.bats b/test/system/250-generate-systemd.bats index a8eb3b0a6..80199af5f 100644 --- a/test/system/250-generate-systemd.bats +++ b/test/system/250-generate-systemd.bats @@ -11,6 +11,9 @@ UNIT_DIR="$HOME/.config/systemd/user" UNIT_FILE="$UNIT_DIR/$SERVICE_NAME.service" function setup() { + skip_if_not_systemd + skip_if_remote + basic_setup if [ ! -d "$UNIT_DIR" ]; then @@ -26,9 +29,6 @@ function teardown() { } @test "podman generate - systemd - basic" { - skip_if_not_systemd - skip_if_remote - run_podman create $IMAGE echo "I'm alive!" cid="$output" |