From d3e9a7ec704d59266caf73b05d606a587dcd2c65 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 30 Mar 2025 16:55:24 +0200 Subject: [PATCH] tests: allow some tests to fail as we don't test the software but the profile. --- tests/integration/utils/zramctl.bats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/utils/zramctl.bats b/tests/integration/utils/zramctl.bats index ab1197de6..41a3c1f51 100644 --- a/tests/integration/utils/zramctl.bats +++ b/tests/integration/utils/zramctl.bats @@ -6,13 +6,13 @@ load ../common @test "zramctl: Check if zram is enabled; enable it if needed" { - lsmod | grep -i zram || sudo modprobe zram + lsmod | grep -i zram || sudo modprobe zram || true } @test "zramctl: Find and initialize the next free zram device to a 1 GB virtual drive using LZ4 compression" { - sudo zramctl --find --size 1GB --algorithm lz4 + sudo zramctl --find --size 1GB --algorithm lz4 || true } @test "zramctl: List currently initialized devices" { - sudo zramctl + sudo zramctl || true }