Skip to content

Commit

Permalink
tests: fix wrong binary path
Browse files Browse the repository at this point in the history
Signed-off-by: Zeyad Gouda <[email protected]>
  • Loading branch information
ZeyadYasser committed Sep 19, 2024
1 parent 33e92f7 commit c9ef741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/main/snap-remove-terminate/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ execute: |
sh_snap_bin="$(command -v fork-bomb.sh)"
if [ "$BAD_SNAP" = "fork-bomb" ]; then
#shellcheck disable=SC2016
systemd-run --unit test-kill.service flock "$lockfile" "$sh_snap_bin" -c 'touch /var/snap/fork-bomb/common/alive; $SNAP/bin/fork-bomb'
systemd-run --unit test-kill.service flock "$lockfile" "$sh_snap_bin" -c 'touch /var/snap/fork-bomb/common/alive; $SNAP/bin/bomb'
else
#shellcheck disable=SC2016
systemd-run --unit test-kill.service flock "$lockfile" "$sh_snap_bin" -c 'touch /var/snap/fork-bomb/common/alive; sleep 100000'
Expand Down

0 comments on commit c9ef741

Please sign in to comment.