<commit_before>#!/usr/bin/env bash

# Copyright 2015 Red Hat Inc., Durham, North Carolina.
# All Rights Reserved.
#
# OpenScap Test Suite
#
# Authors:
#      <NAME> <<EMAIL>>

. ../test_common.sh

# Test cases.

function test_oscap_string {
    ./test_oscap_string
}

# Testing.

test_init "test_oscap_string.log"
test_run "test_oscap_string" test_oscap_string
test_exit<commit_msg>Fix make distcheck using srcdir variable<commit_after>#!/usr/bin/env bash

# Copyright 2015 Red Hat Inc., Durham, North Carolina.
# All Rights Reserved.
#
# OpenScap Test Suite
#
# Authors:
#      <NAME> <<EMAIL>>

. ${srcdir}/../test_common.sh

# Test cases.

function test_oscap_string {
    ./test_oscap_string
}

# Testing.

test_init "test_oscap_string.log"
test_run "test_oscap_string" test_oscap_string
test_exit
{'fraction_non_alphanumeric': 0.11735330836454431, 'fraction_numerical': 0.009987515605493134, 'mean_word_length': 4.174193548387096, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '962376', 'n_tokens_mistral': 307, 'n_tokens_neox': 291, 'n_words': 68}