Skip to content

Commit

Permalink
rz-test: Assume -C . if db/ dir not found
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy committed Dec 15, 2024
1 parent 4af9514 commit 8568a8b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions binrz/rz-test/rz-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,8 @@ int rz_test_main(int argc, const char **argv) {
} else {
bool dir_found = rz_test_chdir_fromtest(opt.ind < argc ? argv[opt.ind] : NULL);
if (!dir_found) {
eprintf("Cannot find db/ directory related to the given test.\n");
ret = -1;
goto beach;
eprintf("Cannot find db/ directory related to the given test. Assuming '-C .'.\n");
rz_test_dir = ".";
}
}

Expand Down

0 comments on commit 8568a8b

Please sign in to comment.