summaryrefslogtreecommitdiff
path: root/.github/workflows/qemu-init.sh
blob: 62f6d4705231058e99406746df7ea149357579bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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