Title: [opsview] [5352] Fix 'plan' for strtoul tests
- Revision
- 5352
- Author
- dferguson
- Date
- 2010-11-12 14:29:01 +0000 (Fri, 12 Nov 2010)
Log Message
Fix 'plan' for strtoul tests
Plan was missing from source file
Modified Paths
Modified: trunk/opsview-base/patches/nagios_test_strtoul.c
===================================================================
--- trunk/opsview-base/patches/nagios_test_strtoul.c 2010-11-12 13:55:04 UTC (rev 5351)
+++ trunk/opsview-base/patches/nagios_test_strtoul.c 2010-11-12 14:29:01 UTC (rev 5352)
@@ -45,6 +45,8 @@
int main(int argc, char **argv){
+ plan_tests(8);
+
downtime_id=strtoul(svr_hostname,&end_ptr,10);
ok( downtime_id == 0, "hostname downtime_id is 0");
ok( strlen(end_ptr) == 8, "hostname end_ptr is 8 chars");
_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins