diff options
author | Patryk Mungai <patryk.mungai-ndungu.kx@renesas.com> | 2019-03-14 13:14:15 +0000 |
---|---|---|
committer | mwasilew <milosz.wasilewski@linaro.org> | 2019-03-18 09:26:18 +0000 |
commit | df44aedf4c06cda5c8608ad2b0916a5c18de1ea0 (patch) | |
tree | 42c9706430196b58c0e2d234abc1985cb8119fba | |
parent | 5254a9e94101fc333e9109d8d524ad215de383ba (diff) |
kselftests: fix tar magic
Not all versions of tar automatically detect compressed archives (eg.
BusyBox v1.22.1 version of tar). Hence the [z] option needs to be
specified in order to successfully untar a gunzip archive in these cases.
-rwxr-xr-x | automated/linux/kselftest/kselftest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/linux/kselftest/kselftest.sh b/automated/linux/kselftest/kselftest.sh index 033105a..0924b46 100755 --- a/automated/linux/kselftest/kselftest.sh +++ b/automated/linux/kselftest/kselftest.sh @@ -146,7 +146,7 @@ else # Download and extract kselftest tarball. wget http://testdata.validation.linaro.org/tests/kselftest/"${TESTPROG}" -O kselftest.tar.gz fi - tar xf "kselftest.tar.gz" + tar zxf "kselftest.tar.gz" # shellcheck disable=SC2164 cd "kselftest" fi |