diff options
author | Bart Van Assche <bvanassche@acm.org> | 2018-12-06 17:11:26 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-12-11 14:54:48 +0100 |
commit | 7e9798871a9186cb831cf693d7ff58085384ccbd (patch) | |
tree | 0acedfaaff5e24b5ac63152074787760ece4634f /tools/lib/lockdep/tests/ABA.sh | |
parent | da087b2229618f78ecea5c203fed8ba2245de636 (diff) |
tools/lib/lockdep/tests: Fix shellcheck warnings
Use find instead of ls to avoid splitting filenames that contain spaces.
Use rm -f instead of if ... then rm ...; fi. This patch addresses all
shellcheck complaints about the run_tests.sh shell script.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman Long <longman@redhat.com>
Cc: johannes.berg@intel.com
Cc: tj@kernel.org
Link: https://lkml.kernel.org/r/20181207011148.251812-3-bvanassche@acm.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib/lockdep/tests/ABA.sh')
0 files changed, 0 insertions, 0 deletions