diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-06-14 20:44:36 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-06-14 20:44:36 -0400 |
commit | e7b13441895fd0f95c34a004eed364524cca71cb (patch) | |
tree | 95f334a8017072f5b1a968fd4f16704abeba721e /tools/testing | |
parent | 4892063043282229c1296d86a2f86989ef30a97c (diff) |
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-x | tools/testing/ktest/ktest.pl | 2 |
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 { | |||
1087 | 1087 | ||
1088 | unlink "$tmpdir/$modtar"; | 1088 | unlink "$tmpdir/$modtar"; |
1089 | 1089 | ||
1090 | run_ssh "'(cd / && tar xf /tmp/$modtar)'" or | 1090 | run_ssh "'(cd / && tar xjf /tmp/$modtar)'" or |
1091 | dodie "failed to tar modules"; | 1091 | dodie "failed to tar modules"; |
1092 | 1092 | ||
1093 | run_ssh "rm -f /tmp/$modtar"; | 1093 | run_ssh "rm -f /tmp/$modtar"; |