#!/bin/sh ############################################################################### # # Copyright © International Business Machines Corp., 2009 # # 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 # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # DESCRIPTION # Run all tests under the functional, performance, and stress directories. # Format and summarize the results. # # AUTHOR # Darren Hart # # HISTORY # 2009-Nov-9: Initial version by Darren Hart # ############################################################################### # Test for a color capable shell and pass the result to the subdir scripts USE_COLOR=0 tput setf 7 || tput setaf 7 if [ $? -eq 0 ]; then USE_COLOR=1 tput sgr0 fi export USE_COLOR (cd functional; ./run.sh) de867ae61'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-01-07 09:33:34 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-01-21 01:43:42 +0200
commit63d762b88cb5510f2bfdb5112ced18cde867ae61 (patch)
tree59bd1832e251b5e0edc61b1b6fb4f4d448b57554 /tools/power
parent49def1853334396f948dcb4cedb9347abb318df5 (diff)
platform/x86: mlx-platform: free first dev on error
There is an off-by-one error so we don't unregister priv->pdev_mux[0]. Also it's slightly simpler as a while loop instead of a for loop. Fixes: 58cbbee2391c ("x86/platform/mellanox: Introduce support for Mellanox systems platform") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/power')