mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
rcutorture: Eliminate --rcu-kvm argument
The --rcu-kvm argument was intended to allow the scripts to live in an alternate location. Unfortunately, this prevents the kvm.sh script from using common functions until after it finished parsing arguments, because it doesn't know where to find them until then. However, "cp -a" and "ln -s" work pretty well, so lack of an --rcu-kvm argument can be easily worked around. This commit therefore removes this argument. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
This commit is contained in:
parent
14db63f575
commit
2bcdf4e31a
1 changed files with 1 additions and 14 deletions
|
@ -46,7 +46,6 @@ usage () {
|
||||||
echo " --duration minutes"
|
echo " --duration minutes"
|
||||||
echo " --kversion vN.NN"
|
echo " --kversion vN.NN"
|
||||||
echo " --qemu-cmd qemu-system-..."
|
echo " --qemu-cmd qemu-system-..."
|
||||||
echo " --rcu-kvm absolute-pathname"
|
|
||||||
echo " --results absolute-pathname"
|
echo " --results absolute-pathname"
|
||||||
echo " --relbuilddir relative-pathname"
|
echo " --relbuilddir relative-pathname"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -107,19 +106,6 @@ do
|
||||||
RCU_QEMU_CMD="$2"; export RCU_QEMU_CMD
|
RCU_QEMU_CMD="$2"; export RCU_QEMU_CMD
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--rcu-kvm)
|
|
||||||
checkarg --rcu-kvm "(absolute pathname)" "$#" "$2" '^/' error
|
|
||||||
KVM=$2; export KVM
|
|
||||||
if -z "$gotbuilddir"
|
|
||||||
then
|
|
||||||
builddir=${KVM}/b1
|
|
||||||
fi
|
|
||||||
if -n "$gotrelbuilddir"
|
|
||||||
then
|
|
||||||
builddir=${KVM}/${relbuilddir}
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
--relbuilddir)
|
--relbuilddir)
|
||||||
checkarg --relbuilddir "(relative pathname)" "$#" "$2" '^[^/]*$' '^--'
|
checkarg --relbuilddir "(relative pathname)" "$#" "$2" '^[^/]*$' '^--'
|
||||||
relbuilddir=$2
|
relbuilddir=$2
|
||||||
|
@ -133,6 +119,7 @@ do
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
echo Unknown argument $1
|
||||||
usage
|
usage
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue