Commit 819c832b authored by Lev Walkin's avatar Lev Walkin

go one dir deeper, still, if possible

parent 04532ccc
...@@ -66,6 +66,7 @@ main(int ac, char **av) { ...@@ -66,6 +66,7 @@ main(int ac, char **av) {
if(ret == -1) if(ret == -1)
fprintf(stderr, "%s: %s\n", asn1_tests_dir, strerror(errno)); fprintf(stderr, "%s: %s\n", asn1_tests_dir, strerror(errno));
assert(ret == 0); assert(ret == 0);
(void)chdir("tests"); /* For some reasons, tests could be hidden. */
#ifdef _WIN32 #ifdef _WIN32
dir = _findfirst("*.asn1", &c_file); dir = _findfirst("*.asn1", &c_file);
assert(dir != -1L); assert(dir != -1L);
...@@ -127,9 +128,6 @@ main(int ac, char **av) { ...@@ -127,9 +128,6 @@ main(int ac, char **av) {
if(completed == 0) { if(completed == 0) {
fprintf(stderr, "No tests defined?!\n"); fprintf(stderr, "No tests defined?!\n");
system("pwd");
system("env");
system("cd .. && find .");
exit(EX_NOINPUT); exit(EX_NOINPUT);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment