aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2016-03-14 03:24:28 -0700
committerLev Walkin <vlm@lionet.info>2016-03-14 03:24:28 -0700
commit819c832b86aee1e5d6ecffc8263ebbfa53b88793 (patch)
tree59ff285af7ca455b4be9b4f6d524ea7ad5655b02
parent04532ccc2a8d92b3101c1070e35bb22587fc239a (diff)
go one dir deeper, still, if possible
-rw-r--r--libasn1fix/check_fixer.c4
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);
}