]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/unifdef/tests/outperms.sh
Add 'contrib/unifdef/' from commit '0da44885831dc0a43c4ca6ff04a2430993cc0a80'
[FreeBSD/FreeBSD.git] / contrib / unifdef / tests / outperms.sh
1 umask 027
2 unifdef -DFOO=1 -DFOOB=42 -UBAR -ooutfile.c if1.c
3 e=$?
4 case ${BUILD_MINGW} in
5 (yes)   printf '%s\n' '-rw-r-----' 1>&2 ;;
6 (*)     ls -l outfile.c | cut -d' ' -f1 1>&2 ;;
7 esac
8 cat outfile.c
9 rm outfile.c
10 exit $e