commit | 9d7330a9a5253ceede764e0d812f404c1c4c1831 | [log] [tgz] |
---|---|---|
author | Rich Lane <rich.lane@bigswitch.com> | Tue Jul 10 14:37:44 2012 -0700 |
committer | Rich Lane <rich.lane@bigswitch.com> | Tue Jul 10 14:37:44 2012 -0700 |
tree | c900cdd07270277a03d06a6f8b34f4cc9998a5a8 | |
parent | 6b452bccc97e2b21f2c5ee4529d181f22d5ef6f4 [diff] [blame] |
default test_dir to directory containing oft This avoids long runs of find(1) when oft looks for test files.
diff --git a/tests/oft b/tests/oft index 5297718..7a6ffc7 100755 --- a/tests/oft +++ b/tests/oft
@@ -170,7 +170,7 @@ "base_if_index" : 1, "relax" : False, "test_spec" : "all", - "test_dir" : ".", + "test_dir" : os.path.dirname(__file__), "log_file" : "oft.log", "list" : False, "debug" : _debug_default,