From 819c832b86aee1e5d6ecffc8263ebbfa53b88793 Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Mon, 14 Mar 2016 03:24:28 -0700 Subject: go one dir deeper, still, if possible --- libasn1fix/check_fixer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libasn1fix/check_fixer.c b/libasn1fix/check_fixer.c index c6b55fd0..2041c437 100644 --- a/libasn1fix/check_fixer.c +++ b/libasn1fix/check_fixer.c @@ -66,6 +66,7 @@ main(int ac, char **av) { if(ret == -1) fprintf(stderr, "%s: %s\n", asn1_tests_dir, strerror(errno)); assert(ret == 0); + (void)chdir("tests"); /* For some reasons, tests could be hidden. */ #ifdef _WIN32 dir = _findfirst("*.asn1", &c_file); assert(dir != -1L); @@ -127,9 +128,6 @@ main(int ac, char **av) { if(completed == 0) { fprintf(stderr, "No tests defined?!\n"); - system("pwd"); - system("env"); - system("cd .. && find ."); exit(EX_NOINPUT); } -- cgit v1.2.3