lkml.org 
[lkml]   [2018]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.16 080/410] rcutorture/configinit: Fix build directory error message
    3.16.57-rc1 review patch.  If anyone has any objections, please let me know.

    ------------------

    From: SeongJae Park <sj38.park@gmail.com>

    commit 2adfa4210f8f35cdfb4e08318cc06b99752964c2 upstream.

    The 'configinit.sh' script checks the format of optional argument for the
    build directory, printing an error message if the format is not valid.
    However, the error message uses the wrong variable, indicating an empty
    string even though the user entered a non-empty (but erroneous) string.
    This commit fixes the script to use the correct variable.

    Fixes: c87b9c601ac8 ("rcutorture: Add KVM-based test framework")

    Signed-off-by: SeongJae Park <sj38.park@gmail.com>
    Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    tools/testing/selftests/rcutorture/bin/configinit.sh | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/tools/testing/selftests/rcutorture/bin/configinit.sh
    +++ b/tools/testing/selftests/rcutorture/bin/configinit.sh
    @@ -51,7 +51,7 @@ then
    mkdir $builddir
    fi
    else
    - echo Bad build directory: \"$builddir\"
    + echo Bad build directory: \"$buildloc\"
    exit 2
    fi
    fi
    \
     
     \ /
      Last update: 2018-06-07 17:51    [W:2.143 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site