We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be32a12 commit 479fc9cCopy full SHA for 479fc9c
hack/test-example.sh
@@ -121,6 +121,7 @@ fi
121
122
if [[ -n "${CHECKS["restart"]}" ]]; then
123
INFO "Create file in the guest home directory and verify that it still exists after a restart"
124
+ # shellcheck disable=SC2016
125
limactl shell "$NAME" sh -c 'touch $HOME/sweet-home'
126
127
INFO "Stopping \"$NAME\""
@@ -129,6 +130,7 @@ if [[ -n "${CHECKS["restart"]}" ]]; then
129
130
INFO "Restarting \"$NAME\""
131
limactl start "$NAME"
132
133
134
if ! limactl shell "$NAME" sh -c 'test -f $HOME/sweet-home'; then
135
ERROR "Guest home directory does not persist across restarts"
136
exit 1
0 commit comments