<commit_before>echo running tests for build
UUID=$(cat /proc/sys/kernel/random/uuid)

pass "unable to start the $VERSION container" docker run --privileged=true -d --name $UUID nanobox/build

defer docker kill $UUID

pass "create hookit db folder" docker exec -it $UUID mkdir -p /var/db/hookit

pass "unable to set engine" docker exec -it $UUID bash -c 'echo '"'"'{"engine":"3-php"}'"'"' > /var/db/hookit/db.json'

pass "unable to run boxfile with empty payload" docker exec -it $UUID /opt/bin/default-boxfile '{}'
<commit_msg>we don't need an interactive tty<commit_after>echo running tests for build
UUID=$(cat /proc/sys/kernel/random/uuid)

pass "unable to start the $VERSION container" docker run --privileged=true -d --name $UUID nanobox/build

defer docker kill $UUID

pass "create hookit db folder" docker exec $UUID mkdir -p /var/db/hookit

pass "unable to set engine" docker exec $UUID bash -c 'echo '"'"'{"engine":"3-php"}'"'"' > /var/db/hookit/db.json'

pass "unable to run boxfile with empty payload" docker exec $UUID /opt/bin/default-boxfile '{}'

{'fraction_non_alphanumeric': 0.13949104618284638, 'fraction_numerical': 0.001885014137606032, 'mean_word_length': 4.31, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 5, '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': '6942313', 'n_tokens_mistral': 365, 'n_tokens_neox': 359, 'n_words': 130}