From: Paul E. McKenney Date: Wed, 9 Oct 2013 22:02:54 +0000 (-0700) Subject: rcutorture: Eliminate configdir argument from kvm-recheck.sh script X-Git-Tag: firefly_0821_release~176^2~4650^2^2^3~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=06d9d1b2e2e58347af37f00856156a550522b2cb;p=firefly-linux-kernel-4.4.55.git 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 Cc: Greg KH --- 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 @@ # check the build and console output for errors. Given a directory # containing results directories, this recursively checks them all. # -# Usage: sh kvm-recheck.sh configdir resdir ... +# Usage: sh kvm-recheck.sh resdir ... # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -25,8 +25,6 @@ # Authors: Paul E. McKenney PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH -configdir=${1} -shift for rd in "$@" do dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u` @@ -34,7 +32,7 @@ do do configfile=`echo $i | sed -e 's/^.*\///'` echo $i - configcheck.sh $i/.config $configdir/$configfile + configcheck.sh $i/.config $i/ConfigFragment parse-build.sh $i/Make.out $configfile parse-rcutorture.sh $i/console.log $configfile parse-console.sh $i/console.log $configfile