mirror of
https://github.com/fsquillace/junest.git
synced 2026-07-22 02:35:36 +00:00
This change separate different parts of the code into several categories: `chroot`, `proot`, `build`, `common`, `setup`. This should simplify the maintenance of the code and will help introducing the user namespace module in a easier way.
21 lines
530 B
Bash
Executable file
21 lines
530 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source "$(dirname $0)/../utils/utils.sh"
|
|
|
|
# Disable the exiterr
|
|
set +e
|
|
|
|
function oneTimeSetUp(){
|
|
setUpUnitTests
|
|
}
|
|
|
|
function test_check_no_tabs(){
|
|
assertCommandFailOnStatus 1 grep -R "$(printf '\t')" $(dirname $0)/../../bin/*
|
|
assertEquals "" "$(cat $STDOUTF)"
|
|
assertEquals "" "$(cat $STDERRF)"
|
|
assertCommandFailOnStatus 1 grep -R "$(printf '\t')" $(dirname $0)/../../lib/*
|
|
assertEquals "" "$(cat $STDOUTF)"
|
|
assertEquals "" "$(cat $STDERRF)"
|
|
}
|
|
|
|
source $(dirname $0)/../utils/shunit2
|