Add quotation marks around the wildcarded name. Signed-off-by: Jan Tulak <jtulak@xxxxxxxxxx> --- check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check b/check index 58d8869..5ff897b 100755 --- a/check +++ b/check @@ -548,7 +548,7 @@ for section in $HOST_OPTIONS_SECTIONS; do # and the test has a name. A bit of hassle to find really # the test and not its sample output or helping files. bname=$(basename $seq) - full_seq=$(find $(dirname $seq) -name $bname* -executable | + full_seq=$(find $(dirname $seq) -name "$bname*" -executable | awk '(NR == 1 || length < length(shortest)) { shortest = $0 }\ END { print shortest }') if [ -f $full_seq ] \ -- 2.5.5 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html