[LTP] [PATCH 2/2] execltp: add rstrip to runtest_file

Daniel Sangorrin daniel.sangorrin@toshiba.co.jp
Mon Dec 25 07:03:06 CET 2017


Without an rstrip I was getting errors saying that the
runtest file syscalls didn't exist.

Signed-off-by: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
---
 execltp.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/execltp.in b/execltp.in
index 6d13ad1..2dcdf10 100755
--- a/execltp.in
+++ b/execltp.in
@@ -361,7 +361,7 @@ def main():
 
             failed_subset = {}
 
-            runtest_file = os.path.join(opts.ltp_dir, 'runtest', testsuite)
+            runtest_file = os.path.join(opts.ltp_dir, 'runtest', testsuite).rstrip()
 
             if not opts.postprocess_only:
 
-- 
2.1.4




More information about the ltp mailing list