mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-09 01:18:35 +03:00
Add test to verify ostree admin kargs edit-in-place
working
This commit is contained in:
parent
7b7b6d741b
commit
8f24e0826a
12
tests/kolainst/destructive/kargs-edit-in-place.sh
Executable file
12
tests/kolainst/destructive/kargs-edit-in-place.sh
Executable file
@ -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
Block a user