mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
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
This commit is contained in:
parent
8d62e42fd3
commit
a3679d30c0
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user