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 Apr 6, 2023
1 parent 931e2ab commit c413540
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/kola/disks/growfs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
## kola:
## exclusive: false

# This test verifies that the rootfs is automatically grown on first boot in the
# default case.

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 c413540

Please sign in to comment.