more tests

This commit is contained in:
nora 2023-09-30 22:52:11 +02:00
parent 043c960708
commit 1827bd19c9
12 changed files with 240 additions and 72 deletions

13
tests/c/getenv.c Normal file
View file

@ -0,0 +1,13 @@
#include <stdlib.h>
int main(int argc, char *argv[]) {
char *env = getenv("PATH");
if (!env) {
return 1;
}
char *env2 = getenv("__some absolutely NONSENSE that no one would ever define please..");
if (env2) {
return 1;
}
}