Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
65043f48
Commit
65043f48
authored
May 02, 2011
by
Mark Andrews
Browse files
force numeric comparision
parent
c45b7e16
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/autosign/tests.sh
View file @
65043f48
...
...
@@ -14,7 +14,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.2
4
2011/05/02 0
1:3
5:0
4
marka Exp $
# $Id: tests.sh,v 1.2
5
2011/05/02 0
5:0
5:0
5
marka Exp $
SYSTEMTESTTOP
=
..
.
$SYSTEMTESTTOP
/conf.sh
...
...
@@ -902,10 +902,10 @@ check_interval () {
x = x + 24*3600;
if (x != int(x))
x = int(x + 1);
if (
x
> interval)
if (
int(x)
>
int(
interval)
)
exit (1);
}
END { if (
x
!= interval) exit(1) }'
interval
=
$2
END { if (
int(x)
!=
int(
interval)
)
exit(1) }'
interval
=
$2
return
$?
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment