mirror of
https://github.com/troglobit/finit.git
synced 2026-11-02 13:20:32 +00:00
test: Print Environment and FS for debugging
This commit is contained in:
1 parent
7965dbd13f
commit
dd6af87d6e
2 files changed
+11
-1
No files matched your search
@@ -14,6 +14,8 @@ binaries = $(testroot_bin)/cat \
|
|||||||
$(testroot_bin)/cp \
|
$(testroot_bin)/cp \
|
||||||
$(testroot_bin)/date \
|
$(testroot_bin)/date \
|
||||||
$(testroot_bin)/echo \
|
$(testroot_bin)/echo \
|
||||||
|
$(testroot_bin)/env \
|
||||||
|
$(testroot_bin)/find \
|
||||||
$(testroot_bin)/kill \
|
$(testroot_bin)/kill \
|
||||||
$(testroot_bin)/ls \
|
$(testroot_bin)/ls \
|
||||||
$(testroot_bin)/mkdir \
|
$(testroot_bin)/mkdir \
|
||||||
|
|||||||
+9
-1
@@ -45,11 +45,19 @@ TEST="$1"
|
|||||||
TEST_DIR=$(dirname "$TEST")
|
TEST_DIR=$(dirname "$TEST")
|
||||||
shift
|
shift
|
||||||
|
|
||||||
trap teardown EXIT
|
# trap teardown EXIT
|
||||||
|
|
||||||
log "$color_reset" 'Test start' ''
|
log "$color_reset" 'Test start' ''
|
||||||
log "$color_reset" '--' ''
|
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
|
# Setup
|
||||||
./testenv_start.sh finit &
|
./testenv_start.sh finit &
|
||||||
finit_ppid=$!
|
finit_ppid=$!
|
||||||
|
|||||||
Reference in new issue
Block a user