diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-04-25 18:31:36 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-04-25 18:31:36 +0200 |
commit | e4da23da1e1239c5cca575c4a5689d0f7397c6c8 (patch) | |
tree | e7f7e6e725bb42f398fc4854bd9aa24ef0210261 | |
parent | f5c0ab06b761cd4f9631fe72dd8ba2366048c941 (diff) | |
download | mbuto-e4da23da1e1239c5cca575c4a5689d0f7397c6c8.tar mbuto-e4da23da1e1239c5cca575c4a5689d0f7397c6c8.tar.gz mbuto-e4da23da1e1239c5cca575c4a5689d0f7397c6c8.tar.bz2 mbuto-e4da23da1e1239c5cca575c4a5689d0f7397c6c8.tar.lz mbuto-e4da23da1e1239c5cca575c4a5689d0f7397c6c8.tar.xz mbuto-e4da23da1e1239c5cca575c4a5689d0f7397c6c8.tar.zst mbuto-e4da23da1e1239c5cca575c4a5689d0f7397c6c8.zip |
mbuto: kselftests: Refresh kselftest_install directory before sourcing from it
If we keep the existing directory and just install over it, all the
programs from previous runs will be sourced from there, too.
Suggested-by: Sevinj Aghayeva <sevinj.aghayeva@gmail.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-x | mbuto | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -231,6 +231,7 @@ profile_kselftests() { __skip_targets="$(${AWK} '/^TARGETS/ { print $3}' ${__makefile} | \ ${EGREP} -v "${__pattern}" | ${TR} '\n' ' ')" + ${RM} -rf "${__testpath}/kselftest_install" ${MAKE} SKIP_TARGETS="${__skip_targets}" -C ${__testpath} install \ >/dev/null 2>&1 @@ -309,6 +310,7 @@ profile_kselftests() { echo "Press s for shell, any other key to run selftests" read a [ "${a}" != "s" ] && ./run_kselftest.sh '"${__run_args}"' + echo o > /proc/sysrq-trigger ' for __f in $(${FIND} ${__testpath}kselftest_install/ -executable); do |