<commit_before>@INCLUDE_COMMON@

echo
echo RUN ALL TESTS
echo

check_version

cd "@CMAKE_INSTALL_PREFIX@/@TARGET_TOOL_EXEC_FOLDER@"

nbFailed=""

EXPORTS="$(mktempdir_elektra)"

cleanup()
{
	rm -rf "$EXPORTS"
}

if [ ! -d "$EXPORTS" ]
then
	echo "Failed to create temporary directory"
	exit 1
fi

SPECEXPORT="$EXPORTS/spec.export.dump"
SPECCHECK="$EXPORTS/spec.check.dump"

DIREXPORT="$EXPORTS/dir.export.dump"
DIRCHECK="$EXPORTS/dir.check.dump"

USEREXPORT="$EXPORTS/user.export.dump"
USERCHECK="$EXPORTS/user.check.dump"

SYSTEMEXPORT="$EXPORTS/system.export.dump"
SYSTEMCHECK="$EXPORTS/system.check.dump"

MOUNTEXPORT="$EXPORTS/mount.export.dump"
MOUNTCHECK="$EXPORTS/mount.check.dump"<commit_msg>tests: make sure counting starts from 0<commit_after>@INCLUDE_COMMON@

echo
echo RUN ALL TESTS
echo

check_version

cd "@CMAKE_INSTALL_PREFIX@/@TARGET_TOOL_EXEC_FOLDER@"

nbTest="0"
nbFailed=""

EXPORTS="$(mktempdir_elektra)"

cleanup()
{
	rm -rf "$EXPORTS"
}

if [ ! -d "$EXPORTS" ]
then
	echo "Failed to create temporary directory"
	exit 1
fi

SPECEXPORT="$EXPORTS/spec.export.dump"
SPECCHECK="$EXPORTS/spec.check.dump"

DIREXPORT="$EXPORTS/dir.export.dump"
DIRCHECK="$EXPORTS/dir.check.dump"

USEREXPORT="$EXPORTS/user.export.dump"
USERCHECK="$EXPORTS/user.check.dump"

SYSTEMEXPORT="$EXPORTS/system.export.dump"
SYSTEMCHECK="$EXPORTS/system.check.dump"

MOUNTEXPORT="$EXPORTS/mount.export.dump"
MOUNTCHECK="$EXPORTS/mount.check.dump"
{'fraction_non_alphanumeric': 0.15309672929714682, 'fraction_numerical': 0.0027835768963117608, 'mean_word_length': 6.568421052631579, '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': '1168036', 'n_tokens_mistral': 601, 'n_tokens_neox': 553, 'n_words': 84}