Travis CI is no more
[unifdef.git] / tests / outperms.sh
blob2583bf5c076de19fe32dff26242c6717d2a9d5a0
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