From 96e2f90b2fd618f85ddd8f7fceb23762415641c7 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 22 Mar 2023 16:37:45 -0400 Subject: [PATCH] tests/kola: add non-exclusive check for growfs We weren't checking anywhere in the non-reprovisioning case that we grow the root filesystem on first boot. Add a trivial test for this. --- tests/kola/disks/growfs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 tests/kola/disks/growfs diff --git a/tests/kola/disks/growfs b/tests/kola/disks/growfs new file mode 100755 index 0000000000..04b4cb27c4 --- /dev/null +++ b/tests/kola/disks/growfs @@ -0,0 +1,12 @@ +#!/bin/bash +## kola: +## exclusive: false + +set -xeuo pipefail + +. $KOLA_EXT_DATA/commonlib.sh + +if [ ! -f /run/ignition-ostree-growfs.stamp ]; then + fatal "rootfs was not grown on first boot" +fi +ok "rootfs grown on first boot"