mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
test: Print Environment and FS for debugging
This commit is contained in:
@@ -14,6 +14,8 @@ binaries = $(testroot_bin)/cat \
|
||||
$(testroot_bin)/cp \
|
||||
$(testroot_bin)/date \
|
||||
$(testroot_bin)/echo \
|
||||
$(testroot_bin)/env \
|
||||
$(testroot_bin)/find \
|
||||
$(testroot_bin)/kill \
|
||||
$(testroot_bin)/ls \
|
||||
$(testroot_bin)/mkdir \
|
||||
|
||||
+9
-1
@@ -45,11 +45,19 @@ TEST="$1"
|
||||
TEST_DIR=$(dirname "$TEST")
|
||||
shift
|
||||
|
||||
trap teardown EXIT
|
||||
# trap teardown EXIT
|
||||
|
||||
log "$color_reset" 'Test start' ''
|
||||
log "$color_reset" '--' ''
|
||||
|
||||
|
||||
>&2 echo Environment:
|
||||
>&2 ./testenv_start.sh env
|
||||
>&2 echo --
|
||||
>&2 echo Filesystem:
|
||||
>&2 ./testenv_start.sh find /
|
||||
>&2 echo --
|
||||
exit
|
||||
# Setup
|
||||
./testenv_start.sh finit &
|
||||
finit_ppid=$!
|
||||
|
||||
Reference in New Issue
Block a user