Tests 56a has warnings and test77a fails on Ubuntu 20.04.
mdhender@STORM:~/src/cook/src$ make sure
PATH=`pwd`/bin:$PATH /bin/sh test/00/t0001a.sh
. . .
PATH=`pwd`/bin:$PATH /bin/sh test/00/t0056a.sh
test.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
1 | main(){exit(42);}
| ^~~~
test.c: In function 'main':
test.c:1:8: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
1 | main(){exit(42);}
| ^~~~
test.c:1:8: warning: incompatible implicit declaration of built-in function 'exit'
test.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
+++ |+#include <stdlib.h>
1 | main(){exit(42);}
bl/test.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
1 | main(){exit(42);}
| ^~~~
bl/test.c: In function 'main':
bl/test.c:1:8: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
1 | main(){exit(42);}
| ^~~~
bl/test.c:1:8: warning: incompatible implicit declaration of built-in function 'exit'
bl/test.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
+++ |+#include <stdlib.h>
1 | main(){exit(42);}
test.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
1 | main(){exit(0);}
| ^~~~
test.c: In function 'main':
test.c:1:8: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
1 | main(){exit(0);}
| ^~~~
test.c:1:8: warning: incompatible implicit declaration of built-in function 'exit'
test.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
+++ |+#include <stdlib.h>
1 | main(){exit(0);}
PATH=`pwd`/bin:$PATH /bin/sh test/00/t0057a.sh
. . .
PATH=`pwd`/bin:$PATH /bin/sh test/00/t0077a.sh
This should never happen.
cook: test: not done because of errors
FAILED test of the archive long name functionality
make: *** [Makefile:3338: t0077a] Error 1
Tests 56a has warnings and test77a fails on Ubuntu 20.04.