diff options
author | Ilya Maximets <i.maximets@samsung.com> | 2018-08-14 10:53:16 +0300 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-08-15 11:36:18 -0700 |
commit | 9551e80befc0f8ecc5ee8a7e025147358c2753ee (patch) | |
tree | 02defe18c297a92f9426f74918ed2f4bb335f51d /lib/util.h | |
parent | cbcf40a847c0539fec36e82410f0966f13517964 (diff) | |
download | openvswitch-9551e80befc0f8ecc5ee8a7e025147358c2753ee.tar.gz |
tests: Use environment variable for default timeout.
Introduce new 'OVS_CTL_TIMEOUT' environment variable
that, if set, will be used as a default timeout for
OVS control utilities. Setting it in 'atlocal.in' will
cover all the hangs inside the testsuite, even when
utils called in a subshell.
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/util.h')
-rw-r--r-- | lib/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.h b/lib/util.h index fd414489c..6e29751bf 100644 --- a/lib/util.h +++ b/lib/util.h @@ -136,6 +136,8 @@ const char *get_subprogram_name(void); unsigned int get_page_size(void); long long int get_boot_time(void); +void ctl_timeout_setup(unsigned int secs); + void ovs_print_version(uint8_t min_ofp, uint8_t max_ofp); OVS_NO_RETURN void out_of_memory(void); |