aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-10-09 18:02:54 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-12-03 13:11:15 -0500
commit06d9d1b2e2e58347af37f00856156a550522b2cb (patch)
treebadf96f0fd10a9266a3cda7a5c7a73cef01f9f75 /tools/testing/selftests
parentbe70a73a1ab46860533dfa933d7b188ca053f0ec (diff)
rcutorture: Eliminate configdir argument from kvm-recheck.sh script
Don't grab the configuration fragment from the configs directory because it might well have been changed since the test was run. Instead, use the ConfigFragment file that was placed in the results directory. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests')
-rwxr-xr-xtools/testing/selftests/rcutorture/bin/kvm-recheck.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh
index 0876af75b66b..26e82b5d67f8 100755
--- a/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh
+++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh
@@ -4,7 +4,7 @@
4# check the build and console output for errors. Given a directory 4# check the build and console output for errors. Given a directory
5# containing results directories, this recursively checks them all. 5# containing results directories, this recursively checks them all.
6# 6#
7# Usage: sh kvm-recheck.sh configdir resdir ... 7# Usage: sh kvm-recheck.sh resdir ...
8# 8#
9# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by 10# it under the terms of the GNU General Public License as published by
@@ -25,8 +25,6 @@
25# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> 25# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
26 26
27PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH 27PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH
28configdir=${1}
29shift
30for rd in "$@" 28for rd in "$@"
31do 29do
32 dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u` 30 dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u`
@@ -34,7 +32,7 @@ do
34 do 32 do
35 configfile=`echo $i | sed -e 's/^.*\///'` 33 configfile=`echo $i | sed -e 's/^.*\///'`
36 echo $i 34 echo $i
37 configcheck.sh $i/.config $configdir/$configfile 35 configcheck.sh $i/.config $i/ConfigFragment
38 parse-build.sh $i/Make.out $configfile 36 parse-build.sh $i/Make.out $configfile
39 parse-rcutorture.sh $i/console.log $configfile 37 parse-rcutorture.sh $i/console.log $configfile
40 parse-console.sh $i/console.log $configfile 38 parse-console.sh $i/console.log $configfile