Use pre-prepared long command line for better portability

This commit is contained in:
Ondřej Surý
2019-11-16 07:22:20 +01:00
parent 340b1d2b6b
commit d9b3909a21
3 changed files with 3 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -180,7 +180,7 @@ status=$((status+ret))
n=$((n+1))
echo_i "checking that named logs an ellipsis when the command line is larger than 8k bytes ($n)"
ret=0
LONG_CMD_LINE=$(yes "-m usage" | head -1000 | tr '\n' ' ')
LONG_CMD_LINE=$(cat long-cmd-line)
copy_setports ns2/named-alt7.conf.in "ns2/named-alt7.conf"
# shellcheck disable=SC2086
(cd ns2 && $NAMED $LONG_CMD_LINE -c "named-alt7.conf" -g > named9.run 2>&1 &)