summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-06-14 20:44:36 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-06-14 20:44:36 -0400
commite7b13441895fd0f95c34a004eed364524cca71cb (patch)
tree95f334a8017072f5b1a968fd4f16704abeba721e /tools/testing
parent4892063043282229c1296d86a2f86989ef30a97c (diff)
downloadlinux-3.10-e7b13441895fd0f95c34a004eed364524cca71cb.tar.gz
linux-3.10-e7b13441895fd0f95c34a004eed364524cca71cb.tar.bz2
linux-3.10-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/testing')
-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 24286cea14a..5b35fa04429 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";