summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/ifstated/statemachine
diff options
context:
space:
mode:
authorrob <rob@cvs.openbsd.org>2017-07-31 18:37:33 +0000
committerrob <rob@cvs.openbsd.org>2017-07-31 18:37:33 +0000
commit30091457a2def21f7df6d6692b7829ae0236338b (patch)
treeb1f2219d4141492313c9f9cdbc3220fc759d5589 /regress/usr.sbin/ifstated/statemachine
parent6163d4e8be68590a6b9a32da02d9a079d28ec71d (diff)
Fix whitespace, ok jca@
Diffstat (limited to 'regress/usr.sbin/ifstated/statemachine')
-rw-r--r--regress/usr.sbin/ifstated/statemachine8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/usr.sbin/ifstated/statemachine b/regress/usr.sbin/ifstated/statemachine
index 2ea35dec9c8..f69635e9a02 100644
--- a/regress/usr.sbin/ifstated/statemachine
+++ b/regress/usr.sbin/ifstated/statemachine
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: statemachine,v 1.2 2017/07/30 18:13:38 jca Exp $
+# $OpenBSD: statemachine,v 1.3 2017/07/31 18:37:32 rob Exp $
#/*
# * Copyright (c) Rob Pierce <rob@2keys.ca>
# *
@@ -76,7 +76,7 @@ test1 = '( "test -f ${FILE1}" every $EVERY )'
test2 = '( "test -f ${FILE2}" every $EVERY )'
state one {
init {
- run "sleep $SLEEP && ( test -f ${FILE2} || touch ${FILE1} )"
+ run "sleep $SLEEP && ( test -f ${FILE2} || touch ${FILE1} )"
}
if \$test1 && ! \$test2
set-state two
@@ -102,14 +102,14 @@ state five {
init {
run "sleep $SLEEP && touch ${FILE1}"
}
- if ( \$false || \$true ) && ( ! \$true || \$test1 )
+ if ( \$false || \$true ) && ( ! \$true || \$test1 )
set-state six
}
state six {
init {
run "sleep $SLEEP && touch ${FILE1}"
}
- if ( \$false || \$true ) && ( ! \$true || \$test1 )
+ if ( \$false || \$true ) && ( ! \$true || \$test1 )
if \$true
set-state seven
}