Skip to content

Commit

Permalink
rcutorture/kvm-build.sh: Skip build directory check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sjp38 authored and paulmck committed Dec 11, 2017
1 parent feef2d2 commit af0695d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/testing/selftests/rcutorture/bin/kvm-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ then
exit 1
fi
builddir=${2}
if test -z "$builddir" -o ! -d "$builddir" -o ! -w "$builddir"
then
echo "kvm-build.sh :$builddir: Not a writable directory, cannot build into it"
exit 1
fi

T=${TMPDIR-/tmp}/test-linux.sh.$$
trap 'rm -rf $T' 0
Expand Down

0 comments on commit af0695d

Please sign in to comment.