-# $OpenBSD: Makefile,v 1.12 2018/11/28 08:06:22 claudio Exp $
+# $OpenBSD: Makefile,v 1.13 2021/10/05 05:34:41 anton Exp $
# $NetBSD: Makefile,v 1.3 1998/03/02 21:57:38 cgd Exp $
PROG= unfdpass
REGRESS_TARGETS+=do-unfdpass5 do-unfdpass6 do-unfdpass7 do-unfdpass8
REGRESS_TARGETS+=do-unfdpass9 do-unfdpass10 do-unfdpass11 do-unfdpass12
-do-unfdpass1: ${PROG}
+REGRESS_SETUP_ONCE= setup
+setup: ${PROG}
+
+do-unfdpass1:
./unfdpass > output
cmp -s ${.CURDIR}/expected output
-do-unfdpass2: ${PROG}
+do-unfdpass2:
./unfdpass -p > output
cmp -s ${.CURDIR}/expected output
-do-unfdpass3: ${PROG}
+do-unfdpass3:
./unfdpass -q > output
cmp -s ${.CURDIR}/expected output
-do-unfdpass4: ${PROG}
+do-unfdpass4:
./unfdpass -pq > output
cmp -s ${.CURDIR}/expected output
-do-unfdpass5: ${PROG}
+do-unfdpass5:
./unfdpass -o > output
cmp -s ${.CURDIR}/expected_overflow output
-do-unfdpass6: ${PROG}
+do-unfdpass6:
./unfdpass -op > output
cmp -s ${.CURDIR}/expected_overflow output
-do-unfdpass7: ${PROG}
+do-unfdpass7:
./unfdpass -oq > output
cmp -s ${.CURDIR}/expected_overflow output
-do-unfdpass8: ${PROG}
+do-unfdpass8:
./unfdpass -opq > output
cmp -s ${.CURDIR}/expected_overflow output
-do-unfdpass9: ${PROG}
+do-unfdpass9:
./unfdpass -r > output
cmp -s ${.CURDIR}/expected_read output
-do-unfdpass10: ${PROG}
+do-unfdpass10:
./unfdpass -rp > output
cmp -s ${.CURDIR}/expected_read output
-do-unfdpass11: ${PROG}
+do-unfdpass11:
./unfdpass -rq > output
cmp -s ${.CURDIR}/expected_read output
-do-unfdpass12: ${PROG}
+do-unfdpass12:
./unfdpass -rpq > output
cmp -s ${.CURDIR}/expected_read output