mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 03:31:36 +01:00
create userland tests
Fix some more tabs. Parse the "Simulated exit code not 0!" string in gem5 and exit with the proper status
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <common.h>
|
||||
|
||||
int main(void) {
|
||||
common_assert_fail();
|
||||
common_assert_fail();
|
||||
}
|
||||
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
exit(1);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
puts("hello");
|
||||
return 0;
|
||||
puts("hello");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user