From: Paul E. McKenney Date: Sat, 19 Apr 2014 18:00:04 +0000 (-0700) Subject: torture: Enable versions without CFcommon to function correctly X-Git-Tag: v3.17-rc1~137^2^2~1^5~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=57e60d0b9e6c36c607471cdcd82d3465fb7f4c37;p=karo-tx-linux.git torture: Enable versions without CFcommon to function correctly The CFcommon file must now be present, which makes using the current scripts against old kernel versions cumbersome. This commit therefore makes the CFcommon file be optional, so that old kernel versions can be used with current torture scripts. Signed-off-by: Paul E. McKenney --- diff --git a/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh index 27e544e29510..fa37010c34db 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh @@ -42,6 +42,7 @@ grace=120 T=/tmp/kvm-test-1-run.sh.$$ trap 'rm -rf $T' 0 +touch $T . $KVM/bin/functions.sh . $KVPATH/ver_functions.sh