From a78c52265d755a2294a743e186ad5a6b5456d9f1 Mon Sep 17 00:00:00 2001 From: kartofen Date: Fri, 28 Apr 2023 20:39:42 +0300 Subject: testing structure done --- src/initramfs-init.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/initramfs-init.sh') diff --git a/src/initramfs-init.sh b/src/initramfs-init.sh index c7c212d..07272c0 100644 --- a/src/initramfs-init.sh +++ b/src/initramfs-init.sh @@ -5,7 +5,8 @@ mkdir /proc mount -t proc proc /proc insmod /usr/keylogger.ko -cd /usr/tests -./run-tests + +# test the module +echo "$(cd usr; ls -v1 tests | while read line; do tests/$line; echo; done)" exec /bin/sh -- cgit v1.2.3