Commit a1ac1ac6 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

utils: evl/test: silence pedantic warning from 'find'

Address this warning from the 'find' command used in the evl-test
script:

"find: warning: you have specified the global option -maxdepth after
the argument -type, but global options are not positional, i.e.,
-maxdepth affects tests specified before it as well as those specified
after it.  Please specify global options before other arguments."
parent c9290307
......@@ -51,7 +51,7 @@ for t in "$@"; do
done
if test -z "$test_list"; then
test_list="$(find $EVL_TESTDIR -type f -maxdepth 1 | sort)"
test_list="$(find $EVL_TESTDIR -maxdepth 1 -type f | sort)"
test_list="$test_list $(find $EVL_TESTDIR/eshi -type f | sort)"
if test -z "$test_list"; then
echo >&2 "$EVL_TESTDIR is empty - broken installation?"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment