nmstate/tests/cli_query_reapply.sh
Gris Ge 10a99f7354 test: Include error message
Signed-off-by: Gris Ge <fge@redhat.com>
2025-07-11 10:07:53 +08:00

9 lines
136 B
Bash
Executable file

#!/bin/bash -ex
TMP_FILE=$(mktemp /tmp/nmstate.XXXXXX.yaml)
nmstatectl show > $TMP_FILE
cat $TMP_FILE
nmstatectl set $TMP_FILE 2>&1