summaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep/common.c
diff options
context:
space:
mode:
authorSedat Dilek <sedat.dilek@gmail.com>2016-03-30 10:22:49 +0200
committerIngo Molnar <mingo@kernel.org>2016-03-30 12:45:56 +0200
commita189c017ded0f13650793067fb7a1afbc2b98cd5 (patch)
tree8dab09247d49247d2c1a1fe349085e09126ed156 /tools/lib/lockdep/common.c
parentlocking/atomic, sched: Unexport fetch_or() (diff)
downloadlinux-a189c017ded0f13650793067fb7a1afbc2b98cd5.tar.xz
linux-a189c017ded0f13650793067fb7a1afbc2b98cd5.zip
tools/lib/lockdep: Fix unsupported 'basename -s' in run_tests.sh
Here on Ubuntu/precise I have GNU/coreutils v8.13 installed where 'basename -s' is not supported. The result is that run_tests.sh is not done properly. How to reproduce: $ cd $BUILD_DIR $ LC_ALL=C make -C tools/ liblockdep $ cd tools/lib/lockdep/ $ LC_ALL=C ./run_tests.sh basename: invalid option -- 's' Try `basename --help' for more information. ... timeout: failed to run command `./tests/': Permission denied FAILED! rm: cannot remove `tests/': Is a directory Due to unsupported basename the tests programs are not generated and cannot be removed. Fix this by doing a compatible basename invocation and check for the existence of generated tests programs. For more details see this LKML thread: http://marc.info/?t=145906667300001&r=1&w=2 Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sasha Levin <sasha.levin@oracle.com> (maintainer:LIBLOCKDEP) Cc: Shuah Khan <shuahkh@osg.samsung.com> Cc: Theodore Ts'o <tytso@mit.edu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-fsdevel <linux-fsdevel@vger.kernel.org> Link: http://lkml.kernel.org/r/1459326169-7009-1-git-send-email-sedat.dilek@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib/lockdep/common.c')
0 files changed, 0 insertions, 0 deletions