* [PATCH] tests: xlate: Change testfile to take "extensions/test_file" as argument
@ 2017-10-19 12:48 Harsha Sharma
0 siblings, 0 replies; only message in thread
From: Harsha Sharma @ 2017-10-19 12:48 UTC (permalink / raw)
To: pablo; +Cc: netfilter-devel, outreachy-kernel, Harsha Sharma
When executing xlate-test.py with specified test file, give
"extensions/test_file.txlate" as argument
Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
---
xlate-test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xlate-test.py b/xlate-test.py
index 43c4be19..860d94d0 100755
--- a/xlate-test.py
+++ b/xlate-test.py
@@ -78,7 +78,7 @@ def main():
if not args.test.endswith(".txlate"):
args.test += ".txlate"
try:
- with open("extensions/" + args.test, "r") as payload:
+ with open(args.test, "r") as payload:
run_test(args.test, payload)
except IOError:
print(red("Error: ") + "test file does not exist")
--
2.11.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-19 12:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-19 12:48 [PATCH] tests: xlate: Change testfile to take "extensions/test_file" as argument Harsha Sharma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).