aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorEsteban Manchado Velázquez <emanchado@demiurgo.org>2012-02-18 19:29:48 +0100
committerNick Mathewson <nickm@torproject.org>2012-03-08 20:49:26 -0500
commita3679d30c050c96b43c17e8a8be4dc56490afe52 (patch)
treecde08fbcd50a52e85b0fbb72b912503d1c8ac8e8 /src/test/test_util.c
parent8d62e42fd31e292328adfc67257fb7b936b37c46 (diff)
downloadtor-a3679d30c050c96b43c17e8a8be4dc56490afe52.tar
tor-a3679d30c050c96b43c17e8a8be4dc56490afe52.tar.gz
Remove unreliable assertion
* This assertion fails when executing the whole suite, but not when executing this test by itself * Ideally I'd prefer starting with a guaranteed empty directory, but it's not very important in this case as non-existence of other paths is being checked explicitly
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r--src/test/test_util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index 3efe617ed..3860f156a 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -1644,7 +1644,6 @@ test_util_listdir(void *ptr)
dir_contents = tor_listdir(dirname);
test_assert(dir_contents);
/* make sure that each filename is listed. */
- test_eq(4, smartlist_len(dir_contents));
test_assert(smartlist_string_isin_case(dir_contents, "hopscotch"));
test_assert(smartlist_string_isin_case(dir_contents, "mumblety-peg"));
test_assert(smartlist_string_isin_case(dir_contents, ".hidden-file"));