selftest: use an array when starting testenv with system()