Skip to content

Commit

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

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

sudo insmod ../../../build/kovid.ko
kill -CONT 31337

ls /proc/myprocname
stat /proc/myprocname

echo "Deleting kovid"
sudo rmmod kovid

# CHECK: No such file or directory
# CHECK: No such file or directory

0 comments on commit 8b86ab0

Please sign in to comment.