Browse Source

ktest: Fix tar extracting of modules to target

The tar command to create the module directory is cjf, but the
extraction only had xf. This works on most versions of tar, but some
versions of tar require xjf for extraction as well.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Steven Rostedt 14 years ago
parent
commit
e7b1344189
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/testing/ktest/ktest.pl

+ 1 - 1
tools/testing/ktest/ktest.pl

@@ -1087,7 +1087,7 @@ sub install {
 
 
     unlink "$tmpdir/$modtar";
     unlink "$tmpdir/$modtar";
 
 
-    run_ssh "'(cd / && tar xf /tmp/$modtar)'" or
+    run_ssh "'(cd / && tar xjf /tmp/$modtar)'" or
 	dodie "failed to tar modules";
 	dodie "failed to tar modules";
 
 
     run_ssh "rm -f /tmp/$modtar";
     run_ssh "rm -f /tmp/$modtar";