summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-06-15 02:44:36 +0200
committerSteven Rostedt <rostedt@goodmis.org>2011-06-15 02:44:36 +0200
commite7b13441895fd0f95c34a004eed364524cca71cb (patch)
tree95f334a8017072f5b1a968fd4f16704abeba721e /tools
parentktest: Have the testing tmp dir include machine name (diff)
downloadlinux-e7b13441895fd0f95c34a004eed364524cca71cb.tar.xz
linux-e7b13441895fd0f95c34a004eed364524cca71cb.zip
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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/ktest/ktest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 24286cea14af..5b35fa04429b 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -1087,7 +1087,7 @@ sub install {
unlink "$tmpdir/$modtar";
- run_ssh "'(cd / && tar xf /tmp/$modtar)'" or
+ run_ssh "'(cd / && tar xjf /tmp/$modtar)'" or
dodie "failed to tar modules";
run_ssh "rm -f /tmp/$modtar";