3
test_concurrent_exec() {
4
ensure_import_testimage
7
lxc launch testimage x1
8
lxc list ${name} | grep RUNNING
11
echo "abc${1}" | lxc exec "${name}" -- cat | grep abc
15
for i in $(seq 1 50); do
16
exec_container "${i}" > "${LXD_DIR}/exec-${i}.out" 2>&1 &
20
for pid in ${PIDS}; do
24
lxc stop "${name}" --force