diff --git a/tests/kolainst/destructive/kargs-edit-in-place.sh b/tests/kolainst/destructive/kargs-edit-in-place.sh new file mode 100755 index 00000000..6380ff33 --- /dev/null +++ b/tests/kolainst/destructive/kargs-edit-in-place.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Verify "ostree admin kargs edit-in-place" works + +set -xeuo pipefail + +. ${KOLA_EXT_DATA}/libinsttest.sh + +sudo ostree admin kargs edit-in-place --append-if-missing=testarg +assert_file_has_content /boot/loader/entries/ostree-* testarg + +echo "ok test `kargs edit-in-place --append-if-missing`"