-# $OpenBSD: Makefile,v 1.2 2017/08/12 21:41:16 rob Exp $
+# $OpenBSD: Makefile,v 1.3 2018/02/05 18:28:15 anton Exp $
# Regress tests for ifstated
REGRESS_TARGETS = run-regress-statemachine run-regress-ifstated
run-regress-statemachine:
- env OBJDIR=${.OBJDIR} ${SUDO} sh ${.CURDIR}/statemachine
+ ${SUDO} env OBJDIR=${.OBJDIR} sh ${.CURDIR}/statemachine
run-regress-ifstated:
- env OBJDIR=${.OBJDIR} ${SUDO} sh ${.CURDIR}/ifstated
+ ${SUDO} env OBJDIR=${.OBJDIR} sh ${.CURDIR}/ifstated
.include <bsd.regress.mk>
#!/bin/sh
#
-# $OpenBSD: ifstated,v 1.7 2017/08/30 16:14:52 rob Exp $
+# $OpenBSD: ifstated,v 1.8 2018/02/05 18:28:15 anton Exp $
#/*
# * Copyright (c) Rob Pierce <rob@openbsd.org>
# *
# Basic ifstated regression script to test interface changes.
+# Ensure OBJDIR is defined
+: ${OBJDIR?} || exit 1
export OBJDIR
-# Golbal variables
+# Global variables
VHIDA=252
VHIDB=253
PREFIX=172.16.0
#!/bin/sh
#
-# $OpenBSD: statemachine,v 1.5 2017/08/28 22:05:44 rob Exp $
+# $OpenBSD: statemachine,v 1.6 2018/02/05 18:28:15 anton Exp $
#/*
# * Copyright (c) Rob Pierce <rob@openbsd.org>
# *
# NOTE: Increase LSLEEP as required when adding additional test states.
#
+# Ensure OBJDIR is defined
+: ${OBJDIR?} || exit 1
+
export OBJDIR
-# Golbal variables
+# Global variables
FILE1="truth1.test"
FILE2="truth2.test"
EVERY=2