diff options
author | Lev Walkin <vlm@lionet.info> | 2016-03-14 03:24:28 -0700 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2016-03-14 03:24:28 -0700 |
commit | 819c832b86aee1e5d6ecffc8263ebbfa53b88793 (patch) | |
tree | 59ff285af7ca455b4be9b4f6d524ea7ad5655b02 /libasn1fix | |
parent | 04532ccc2a8d92b3101c1070e35bb22587fc239a (diff) |
go one dir deeper, still, if possible
Diffstat (limited to 'libasn1fix')
-rw-r--r-- | libasn1fix/check_fixer.c | 4 |
1 files changed, 1 insertions, 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); } |