aboutsummaryrefslogtreecommitdiff
path: root/contrib/unifdef/tests/outperms.sh
blob: 2583bf5c076de19fe32dff26242c6717d2a9d5a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
umask 027
unifdef -DFOO=1 -DFOOB=42 -UBAR -ooutfile.c if1.c
e=$?
case ${BUILD_MINGW} in
(yes)	printf '%s\n' '-rw-r-----' 1>&2 ;;
(*)	ls -l outfile.c | cut -d' ' -f1 1>&2 ;;
esac
cat outfile.c
rm outfile.c
exit $e