diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-07-25 04:34:14 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-07-25 04:34:14 +0000 |
commit | 96bcbb1e1c7e8246d1d93c628c587d2511ce315a (patch) | |
tree | 1e5cca50f30a26f9155a3bf0f554f37ebb477ccd /src/or/test.c | |
parent | 8d2a71a47aea445cfbe4d4fed75520d1924b71ab (diff) | |
download | tor-96bcbb1e1c7e8246d1d93c628c587d2511ce315a.tar.gz tor-96bcbb1e1c7e8246d1d93c628c587d2511ce315a.zip |
Remove code to special-case "-cvs" ending, since it has not actually mattered since 0.0.9. Perhaps we can special-case even more...
svn:r6898
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/or/test.c b/src/or/test.c index e7c460ba84..3e18df9d33 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -1387,35 +1387,30 @@ test_dir_format(void) test_eq(4, ver1.micro); test_eq(VER_PRE, ver1.status); test_eq(2, ver1.patchlevel); - test_eq(IS_CVS, ver1.cvs); test_eq(0, tor_version_parse("0.3.4rc1", &ver1)); test_eq(0, ver1.major); test_eq(3, ver1.minor); test_eq(4, ver1.micro); test_eq(VER_RC, ver1.status); test_eq(1, ver1.patchlevel); - test_eq(IS_NOT_CVS, ver1.cvs); test_eq(0, tor_version_parse("1.3.4", &ver1)); test_eq(1, ver1.major); test_eq(3, ver1.minor); test_eq(4, ver1.micro); test_eq(VER_RELEASE, ver1.status); test_eq(0, ver1.patchlevel); - test_eq(IS_NOT_CVS, ver1.cvs); test_eq(0, tor_version_parse("1.3.4.999", &ver1)); test_eq(1, ver1.major); test_eq(3, ver1.minor); test_eq(4, ver1.micro); test_eq(VER_RELEASE, ver1.status); test_eq(999, ver1.patchlevel); - test_eq(IS_NOT_CVS, ver1.cvs); test_eq(0, tor_version_parse("0.1.2.4-alpha", &ver1)); test_eq(0, ver1.major); test_eq(1, ver1.minor); test_eq(2, ver1.micro); test_eq(4, ver1.patchlevel); test_eq(VER_RELEASE, ver1.status); - test_eq(IS_NOT_CVS, ver1.cvs); test_streq("alpha", ver1.status_tag); test_eq(0, tor_version_parse("0.1.2.4", &ver1)); test_eq(0, ver1.major); @@ -1423,7 +1418,6 @@ test_dir_format(void) test_eq(2, ver1.micro); test_eq(4, ver1.patchlevel); test_eq(VER_RELEASE, ver1.status); - test_eq(IS_NOT_CVS, ver1.cvs); test_streq("", ver1.status_tag); #define test_eq_vs(vs1, vs2) test_eq_type(version_status_t, "%d", (vs1), (vs2)) |