Commit Graph

11 Commits

Author SHA1 Message Date
Albert S. 5cd0a36ced test.sh: Fix regression causing status code to be lost
The changes in 01c5cbf701
did not take into account that "tee" would change the exit code.

Use a protable alternative to &>> now.
2022-12-26 18:29:32 +01:00
Albert S. 01c5cbf701 test.sh: Make it more portable 2022-12-20 10:50:42 +01:00
Albert S. e7a5ba7f7f test.sh: Also run C++ tests 2022-03-17 15:47:22 +01:00
Albert S. 1b4c5477a5 rename to exile.h
qssb.h was a preliminary name and can't be pronounced smoothly.

exile.h is more fitting and it's also short. Something exiled is essentially
something isolated, which is pretty much what this library does (isolation from
resources such as file system, network and others accessible by system calls).
2021-11-30 18:19:15 +01:00
Albert S. 435bcefa48 test: Skip landlock specific tests if unavailble during compile time 2021-11-20 19:25:30 +01:00
Albert S. b2b501d97e test: Refactor: Put seccomp tests into child processes ; Simplfy .sh
Refactor the test logic. Seccomp tests that can be
killed run in their own subprocess now.

All test functions now return 0 on success. Therefore,
the shell script can be simplified.
2021-09-05 17:12:25 +02:00
Albert S. e389140436 test.sh: Log exit code, print yes/no instead of 1/0 2021-09-05 17:12:25 +02:00
Albert S. c57c79fa36 test: Log output of individual tests 2021-06-06 09:27:45 +02:00
Albert S. 5138d88b12 test: Count succeeded/failed tests 2021-06-06 09:02:30 +02:00
Albert S. b8d6c78780 test: Rename fail(), echogreen() 2021-06-06 08:57:24 +02:00
Albert S. 85c01899a9 Start implementing tests 2021-06-05 20:11:07 +02:00