tests: avoid $(...)

Reported by Paul Eggert.

* tests/local.at (AT_DATA_NO_FINAL_EOL): here.
This commit is contained in:
Akim Demaille
2019-10-15 07:00:34 +02:00
parent ab3621678a
commit 2a0185b693

View File

@@ -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])