<commit_before>#!/bin/sh
# SUMMARY: Run containerd test
# LABELS:
# REPEAT:

set -e

# Source libraries. Uncomment if needed/defined
#. "${RT_LIB}"
. "${RT_PROJECT_ROOT}/_lib/lib.sh"

NAME=containerd

clean_up() {
	rm -rf ${NAME}-*
}
trap clean_up EXIT

# Test code goes here
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
RESULT="$(linuxkit run -mem 2048 -disk size=2G ${NAME})"
echo "${RESULT}" | grep -q "suite PASSED"

exit 0<commit_msg>tests: Increase memory for containerd tests to 3GB<commit_after>#!/bin/sh
# SUMMARY: Run containerd test
# LABELS:
# REPEAT:

set -e

# Source libraries. Uncomment if needed/defined
#. "${RT_LIB}"
. "${RT_PROJECT_ROOT}/_lib/lib.sh"

NAME=containerd

clean_up() {
	rm -rf ${NAME}-*
}
trap clean_up EXIT

# Test code goes here
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
RESULT="$(linuxkit run -mem 3072 -disk size=2G ${NAME})"
echo "${RESULT}" | grep -q "suite PASSED"

exit 0
{'fraction_non_alphanumeric': 0.15911485774499473, 'fraction_numerical': 0.0136986301369863, 'mean_word_length': 4.3977272727272725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2758947', 'n_tokens_mistral': 379, 'n_tokens_neox': 350, 'n_words': 106}