Skip to content

Commit

Permalink
test: native/inject.test
Browse files Browse the repository at this point in the history
  • Loading branch information
djolertrk committed Dec 19, 2024
1 parent 8b86ab0 commit 9cab327
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test/native/inject.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# REQUIRES: 0
# REQUIRES: DEBUG_ONLY
# REQUIRES: NATIVE_TESTS

# RUN: bash %s &> %t.log
# RUN: FileCheck-18 --input-file=%t.log %s

# This would break other tests, due to make
# command, so this can be run individually.

sudo dmesg -c

cd ../../../inject
cd ../ && PROCNAME=kv make && make strip
cd -
./update.sh && make
sudo ./kv_embed ; dmesg
cd ../../../build
sudo rmmod kovid

# CHECK: loaded
# CHECK: unloaded

0 comments on commit 9cab327

Please sign in to comment.