chkbit/scripts/run_tests

22 lines
414 B
Plaintext
Raw Normal View History

2024-08-15 23:30:29 +02:00
#!/bin/bash
set -e
export TZ='UTC'
script_dir=$(dirname "$(realpath "$0")")
base_dir=$(dirname "$script_dir")
#dir=$(realpath "$script_dir/../testdata/run_test")
root="/tmp/chkbit/root"
if [[ ! -d $root ]]; then
echo "must run run_test_prep first"
exit 1
fi
# setup
$script_dir/build
2024-08-18 16:05:33 +02:00
"$base_dir/chkbit" -u /tmp/chkbit/root
# todo: validate (300 files, 1 symlink dir followed, 1 symlink file ignored)
2024-08-16 23:10:58 +02:00