<commit_before>#!/bin/sh

VERSION=`grep '^AC_INIT' ../configure.ac | sed 's/.*\[\([0-9][0-9.]*\)\].*/\1/'`

for d in \
    /bin \
    /etc \
    /lib \
    /root \
    /sbin \
    /usr/bin \
    /usr/lib \
    /usr/sbin \
    /usr/local/bin
do
    mkdir -p testtree/$d
done

for d in \
    /dev \
    /proc
do
    rm -f testtree/$d
    ln -sf $d testtree/$d
done

for f in \
    /bin/csh \
    /bin/sh \
    /bin/bash \
    /bin/grep \
    /bin/ls \
    /bin/cp \
    /bin/mkdir \
    /bin/chmod \
    /bin/pwd \
    /bin/sh \
    /bin/rm \
    /usr/bin/id \
    /usr/bin/find \
    /usr/bin/perl \
    /usr/bin/ltrace \
    /usr/bin/strace \
    /usr/sbin/chroot \
    /usr/local/bin/bash \
    /usr/local/bin/strace
do
    ln -sf $f testtree/$f
done

dir=`cd \`pwd\`/../src/.libs; pwd`

#if [ -n "$LD_LIBRARY_PATH" ]; then
#    LD_LIBRARY_PATH="$dir:$LD_LIBRARY_PATH"
#else
#    LD_LIBRARY_PATH="$dir"
#fi<commit_msg>* Add /bin/busybox to test/fakechroot.sh.<commit_after>#!/bin/sh

VERSION=`grep '^AC_INIT' ../configure.ac | sed 's/.*\[\([0-9][0-9.]*\)\].*/\1/'`

for d in \
    /bin \
    /etc \
    /lib \
    /root \
    /sbin \
    /usr/bin \
    /usr/lib \
    /usr/sbin \
    /usr/local/bin
do
    mkdir -p testtree/$d
done

for d in \
    /dev \
    /proc
do
    rm -f testtree/$d
    ln -sf $d testtree/$d
done

for f in \
    /bin/busybox \
    /bin/cat \
    /bin/csh \
    /bin/sh \
    /bin/bash \
    /bin/grep \
    /bin/ls \
    /bin/cp \
    /bin/mkdir \
    /bin/chmod \
    /bin/pwd \
    /bin/sh \
    /bin/rm \
    /usr/bin/id \
    /usr/bin/find \
    /usr/bin/perl \
    /usr/bin/ltrace \
    /usr/bin/strace \
    /usr/sbin/chroot \
    /usr/local/bin/bash \
    /usr/local/bin/strace
do
    ln -sf $f testtree/$f
done

dir=`cd \`pwd\`/../src/.libs; pwd`

#if [ -n "$LD_LIBRARY_PATH" ]; then
#    LD_LIBRARY_PATH="$dir:$LD_LIBRARY_PATH"
#else
#    LD_LIBRARY_PATH="$dir"
#fi
{'fraction_non_alphanumeric': 0.20421052631578948, 'fraction_numerical': 0.005263157894736842, 'mean_word_length': 1.3644278606965174, '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': '5173158', 'n_tokens_mistral': 920, 'n_tokens_neox': 879, 'n_words': 157}