Skip to contentSkip to conversation

wait403: Reproduce undefined INT_MIN negation

PATCH New Richard Palethorpe 1 participant 1 message Jul 7, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 wait403: Reproduce undefined INT_MIN negation

---

V2:
* Use INT_MIN
* Add {} as tags sentinel

 runtest/syscalls                           |  1 +
 testcases/kernel/syscalls/wait4/.gitignore |  1 +
 testcases/kernel/syscalls/wait4/wait403.c  | 42 ++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100644 testcases/kernel/syscalls/wait4/wait403.c
runtest/syscalls +1 -0
index 98fe3c02e..128eaadd2 100644
@@ -1663,6 +1663,7 @@ wait02 wait02
 
 wait401 wait401
 wait402 wait402
+wait403 wait403
 
 waitpid01 waitpid01
 waitpid02 waitpid02
testcases/kernel/syscalls/wait4/.gitignore +1 -0
index 9313eb72c..577f73479 100644
@@ -1,2 +1,3 @@
 /wait401
 /wait402
+/wait403
testcases/kernel/syscalls/wait4/wait403.c new file +42 -0

42 lines not on this page · raw message

Signature · 1 line
2.31.1