summaryrefslogtreecommitdiff
path: root/tests/foad1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/foad1')
-rwxr-xr-xtests/foad12
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/foad1 b/tests/foad1
index 150c2b0d..9492fadb 100755
--- a/tests/foad1
+++ b/tests/foad1
@@ -23,7 +23,7 @@ grep_test ()
INPUT="$1"
EXPECT="$2"
shift 2
- OUTPUT=`printf %s "$INPUT" | tr "/" "\n" | grep "$@" | tr "\n" "/"`
+ OUTPUT=$(printf %s "$INPUT" | tr "/" "\n" | grep "$@" | tr "\n" "/")
if test "$OUTPUT" != "$EXPECT" || test "$VERBOSE" = "yes"; then
echo "Testing: grep $@"
test "$LC_ALL" != C && test "$LC_ALL" != "" && echo " LC_ALL: \"$LC_ALL\""