Skip to content

Commit

Permalink
test/includes: Set ulimit before spawning LXD.
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Laing <[email protected]>
  • Loading branch information
markylaing committed Nov 20, 2024
1 parent 0d3d40e commit a5de620
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/includes/lxd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spawn_lxd() {
echo "==> Spawning lxd in ${lxddir}"
# shellcheck disable=SC2086

# Set ulimit to ensure core dump is outputted.
ulimit -c unlimited

if [ "${LXD_NETNS}" = "" ]; then
LXD_DIR="${lxddir}" lxd --logfile "${lxddir}/lxd.log" "${DEBUG-}" "$@" 2>&1 &
else
Expand Down

0 comments on commit a5de620

Please sign in to comment.