From 2a0185b69323756acacf0e88ae5071c5993ce041 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 15 Oct 2019 07:00:34 +0200 Subject: [PATCH] tests: avoid $(...) Reported by Paul Eggert. * tests/local.at (AT_DATA_NO_FINAL_EOL): here. --- tests/local.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/local.at b/tests/local.at index 5027ec55..14cd448c 100644 --- a/tests/local.at +++ b/tests/local.at @@ -58,7 +58,7 @@ m4_define([AT_DATA_NO_FINAL_EOL], [AT_DATA([$1], [$2 ]) AT_REQUIRE([ -set x $(LC_ALL=C ls -l '$1') && +set x `LC_ALL=C ls -l '$1'` && size=$][6 && { test $size -eq 0 || dd obs=1 seek=`expr $size - 1` if=/dev/null of='$1'; }], [], [ignore], [ignore])