xref: /freebsd/contrib/unifdef/tests/outeperm.sh (revision fb3ef04d2028110f06d68b09009f1f2ca0f4128e)
1*fb3ef04dSDag-Erling Smørgravmkdir -p outdir
2*fb3ef04dSDag-Erling Smørgravchmod 555 outdir
3*fb3ef04dSDag-Erling Smørgravunifdef -DFOO=1 -DFOOB=42 -UBAR -ooutdir/outfile.c if1.c
4*fb3ef04dSDag-Erling Smørgrave=$?
5*fb3ef04dSDag-Erling Smørgravrmdir outdir
6*fb3ef04dSDag-Erling Smørgravexit $e
7