Skip to content

Commit

Permalink
tests/kola: add non-exclusive check for growfs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jlebon committed Mar 22, 2023
1 parent 8c7d0cc commit 96e2f90
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/kola/disks/growfs
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 96e2f90

Please sign in to comment.