<commit_before>#!/bin/sh

# Create two normal IPCPs and enroll one to the other,
# using a third IPCP as a N-1 DIF.
rlite-ctl ipcp-create x normal dd || exit 1
rlite-ctl ipcp-create y normal dd || exit 1
rlite-ctl ipcp-create z normal zz || exit 1
rlite-ctl ipcp-enroller-enable x || exit 1
rlite-ctl ipcp-enroller-enable z || exit 1
rlite-ctl ipcp-register x zz || exit 1
rlite-ctl ipcp-register y zz || exit 1
rlite-ctl ipcp-enroll y dd zz x
# Reset to wait for all the flows to go away
rlite-ctl reset<commit_msg>tests: integration: add missing propagation of ipcp-enroll<commit_after>#!/bin/sh

# Create two normal IPCPs and enroll one to the other,
# using a third IPCP as a N-1 DIF.
rlite-ctl ipcp-create x normal dd || exit 1
rlite-ctl ipcp-create y normal dd || exit 1
rlite-ctl ipcp-create z normal zz || exit 1
rlite-ctl ipcp-enroller-enable x || exit 1
rlite-ctl ipcp-enroller-enable z || exit 1
rlite-ctl ipcp-register x zz || exit 1
rlite-ctl ipcp-register y zz || exit 1
rlite-ctl ipcp-enroll y dd zz x || exit 1
# Reset to wait for all the flows to go away
rlite-ctl reset
{'fraction_non_alphanumeric': 0.08923643054277829, 'fraction_numerical': 0.015639374425023, 'mean_word_length': 3.590717299578059, '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': '1671508', 'n_tokens_mistral': 412, 'n_tokens_neox': 387, 'n_words': 167}