Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rcutorture/kvm-build.sh: Skip build directory check

Check for build-directory existence and write permissions are provided in
both 'kvm-test-1-run.sh' an 'kvm-build.sh'. Because the 'kvm-build.sh'
is dependent on 'kvm-test-1-run.sh' ('kvm-build.sh' uses variables that
defined from its caller.), these checks are unnecessarily duplicated.
This commit therefore removes the check in from the 'kvm-build.sh' script.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

authored by

SeongJae Park and committed by
Paul E. McKenney
af0695d3 feef2d28

-5
-5
tools/testing/selftests/rcutorture/bin/kvm-build.sh
··· 29 29 exit 1 30 30 fi 31 31 builddir=${2} 32 - if test -z "$builddir" -o ! -d "$builddir" -o ! -w "$builddir" 33 - then 34 - echo "kvm-build.sh :$builddir: Not a writable directory, cannot build into it" 35 - exit 1 36 - fi 37 32 38 33 T=${TMPDIR-/tmp}/test-linux.sh.$$ 39 34 trap 'rm -rf $T' 0