Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix core dump in rmr_probe when -r option given
[ric-plt/lib/rmr.git]
/
test
/
sr_si_static_test.c
diff --git
a/test/sr_si_static_test.c
b/test/sr_si_static_test.c
index
be99359
..
e3b5a77
100644
(file)
--- a/
test/sr_si_static_test.c
+++ b/
test/sr_si_static_test.c
@@
-147,6
+147,10
@@
static int sr_si_test() {
rtc_file( NULL ); // the static file only collector
rtc_file( ctx );
rtc_file( NULL ); // the static file only collector
rtc_file( ctx );
+ setenv( "RMR_RTREQ_FREQ", "400", 1 ); // force error checking code in rtc to resort to default
+ rtc( ctx );
+
+ setenv( "RMR_CTL_PORT", "43086", 1 ); // force defined branch in rtc
rtc( ctx );
setenv( "RMR_RTG_SVC", "4567", 1 ); // drive for edge case coverage to ensure no nil pointer etc
rtc( ctx );
setenv( "RMR_RTG_SVC", "4567", 1 ); // drive for edge case coverage to ensure no nil pointer etc