diff options
author | Yang Tse <yangsita@gmail.com> | 2006-10-25 05:59:46 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-10-25 05:59:46 +0000 |
commit | 384c8f356087178e4779d99d3e0e7f25331293aa (patch) | |
tree | 7b7d5aec819f6f47ccc3b28d7390ae62c036535b /tests/libtest/test.h | |
parent | f44ef427a2fbe506a35548ebab2b503438d6a027 (diff) | |
download | gnurl-384c8f356087178e4779d99d3e0e7f25331293aa.tar.gz gnurl-384c8f356087178e4779d99d3e0e7f25331293aa.tar.bz2 gnurl-384c8f356087178e4779d99d3e0e7f25331293aa.zip |
Use curl_global_init() and curl_global_cleanup().
Improve cleanup in case of initialization failure.
Diffstat (limited to 'tests/libtest/test.h')
-rw-r--r-- | tests/libtest/test.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h index 83ec94b65..738976397 100644 --- a/tests/libtest/test.h +++ b/tests/libtest/test.h @@ -31,6 +31,9 @@ #define TRUE 1 #endif +#define TEST_ERR_MAJOR_BAD 100 +#define TEST_ERR_RUNS_FOREVER 99 + extern char *arg2; /* set by first.c to the argv[2] or NULL */ int select_test (int num_fds, fd_set *rd, fd_set *wr, fd_set *exc, |