PatrickMckay1998 / atlas-simple_shell

0 stars 0 forks source link

update test functions #20

Closed PatrickMckay1998 closed 3 months ago

PatrickMckay1998 commented 3 months ago

Updated test functions page, test function so far only returns two errors

test_functions.c:23:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] 23 | char* delim = "-"; | ^~~~ test_functions.c:37:11: error: implicit declaration of function 'wait' [-Werror=implicit-function-declaration] 37 | wait(NULL); | ^~~~ test_functions.c:16:17: error: variable 'num_read' set but not used [-Werror=unused-but-set-variable] 16 | ssize_t num_read; | ^~~~