test: Mount /tmp as tmpfs again, but copy any existing files in /tmp back into it

Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
Jacques de Laval committed 2021-02-27 13:45:05 +01:00
1 parent 8b680b1b14
commit 255d90cee9
2 files changed
+6 -14

No files matched your search

-13
View File
@@ -7,19 +7,6 @@ TEST_DIR=$(dirname "$0")/..
# shellcheck source=/dev/null
. "$TEST_DIR/lib.sh"
say 'environment:'
texec env
say 'initctl:'
texec busybox-x86_64 which initctl
say 'ldd initctl:'
texec sh -c 'LD_TRACE_LOADED_OBJECTS=1 initctl'
say 'finit:'
texec busybox-x86_64 which finit
say 'ldd finit:'
texec sh -c 'LD_TRACE_LOADED_OBJECTS=1 finit'
say 'tree:'
texec find / | grep -v '^/sys' | grep -v '^/proc'
test_teardown() {
say "Test done $(date)"
say "Running test teardown."