Add test to verify `ostree admin kargs edit-in-place` working
This commit is contained in:
parent
7b7b6d741b
commit
8f24e0826a
|
|
@ -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`"
|
||||
Loading…
Reference in New Issue