From f789d30aeebd38f07c2183df92b9c54e063eb411 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mon, 18 Nov 2024 19:04:10 +0100 Subject: [PATCH] debug --- playbooks/system-test-runtime-environment-arch-fedora.yaml | 2 +- test/system/203-network.bats | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/playbooks/system-test-runtime-environment-arch-fedora.yaml b/playbooks/system-test-runtime-environment-arch-fedora.yaml index 159356330..1111e1567 100644 --- a/playbooks/system-test-runtime-environment-arch-fedora.yaml +++ b/playbooks/system-test-runtime-environment-arch-fedora.yaml @@ -20,7 +20,7 @@ - include_tasks: build.yaml - name: Run the (arch-fedora,runtime-environment) system tests - command: bats --filter-tags arch-fedora,runtime-environment ./test/system + command: bats --filter-tags arch-fedora,runtime-environment --print-output-on-failure --show-output-of-passing-tests --verbose-run ./test/system/203-network.bats environment: TMPDIR: '/var/tmp' TOOLBX: '/usr/local/bin/toolbox' diff --git a/test/system/203-network.bats b/test/system/203-network.bats index 4f484f52d..62c7d83ac 100644 --- a/test/system/203-network.bats +++ b/test/system/203-network.bats @@ -66,6 +66,10 @@ teardown() { @test "network: /etc/resolv.conf inside the default container" { create_default_container + run ls -l /etc/resolv.conf + + run --keep-empty-lines --separate-stderr "$TOOLBX" run ls -l /etc/resolv.conf + run --keep-empty-lines --separate-stderr "$TOOLBX" run readlink /etc/resolv.conf assert_success