summaryrefslogtreecommitdiff
path: root/.github/workflows/qemu-init.sh
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/qemu-init.sh')
-rwxr-xr-x.github/workflows/qemu-init.sh43
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/qemu-init.sh b/.github/workflows/qemu-init.sh
new file mode 100755
index 000000000000..62f6d4705231
--- /dev/null
+++ b/.github/workflows/qemu-init.sh
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+busybox insmod rust_minimal.ko
+busybox rmmod rust_minimal.ko
+
+busybox insmod rust_print.ko
+busybox rmmod rust_print.ko
+
+busybox insmod rust_module_parameters.ko
+busybox rmmod rust_module_parameters.ko
+
+busybox insmod rust_sync.ko
+busybox rmmod rust_sync.ko
+
+busybox insmod rust_chrdev.ko
+busybox rmmod rust_chrdev.ko
+
+busybox insmod rust_miscdev.ko
+busybox rmmod rust_miscdev.ko
+
+busybox insmod rust_stack_probing.ko
+busybox rmmod rust_stack_probing.ko
+
+busybox insmod rust_semaphore.ko
+busybox rmmod rust_semaphore.ko
+
+busybox insmod rust_semaphore_c.ko
+busybox rmmod rust_semaphore_c.ko
+
+busybox insmod rust_selftests.ko
+busybox rmmod rust_selftests.ko
+
+busybox insmod rust_module_parameters_loadable_default.ko
+busybox insmod rust_module_parameters_loadable_custom.ko \
+ my_bool=n \
+ my_i32=345543 \
+ my_str=🦀mod \
+ my_usize=84 \
+ my_array=1,2,3
+busybox rmmod rust_module_parameters_loadable_default.ko
+busybox rmmod rust_module_parameters_loadable_custom.ko
+
+busybox reboot -f