aboutsummaryrefslogtreecommitdiff
path: root/src/initramfs-init.sh
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2023-04-28 20:39:42 +0300
committerkartofen <mladenovnasko0@gmail.com>2023-04-28 20:39:42 +0300
commita78c52265d755a2294a743e186ad5a6b5456d9f1 (patch)
tree3606129e28526dca6c2726712c755700b912895d /src/initramfs-init.sh
parent7395f6ec5385cd4895755c0c48e878a01214ef1c (diff)
testing structure done
Diffstat (limited to 'src/initramfs-init.sh')
-rw-r--r--src/initramfs-init.sh5
1 files changed, 3 insertions, 2 deletions
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