diff options
Diffstat (limited to 'tests/ts/last/ipv6')
-rwxr-xr-x | tests/ts/last/ipv6 | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/tests/ts/last/ipv6 b/tests/ts/last/ipv6 index b9b4de4dd..63a786753 100755 --- a/tests/ts/last/ipv6 +++ b/tests/ts/last/ipv6 @@ -20,24 +20,31 @@ ts_init "$*" ts_check_test_command "$TS_CMD_LAST" +WTMP_FILE=${TS_OUTDIR}/ipv6-input +rm -f $WTMP_FILE +BYTE_ORDER=$($TS_HELPER_SYSINFO byte-order) +ln -s ${TS_SELF}/ipv6-input.${BYTE_ORDER} $WTMP_FILE + export LANG=C export TZ=GMT >| $TS_OUTPUT ts_log "~~~ dns short ~~~" -$TS_CMD_LAST -f $TS_SELF/ipv6-input -d >> $TS_OUTPUT 2>/dev/null +$TS_CMD_LAST -f $WTMP_FILE -d >> $TS_OUTPUT 2>/dev/null ts_log "~~~ dns long ~~~" -$TS_CMD_LAST -f $TS_SELF/ipv6-input -d -w >> $TS_OUTPUT 2>/dev/null +$TS_CMD_LAST -f $WTMP_FILE -d -w >> $TS_OUTPUT 2>/dev/null ts_log "~~~ dns host last ~~~" -$TS_CMD_LAST -f $TS_SELF/ipv6-input -d -a >> $TS_OUTPUT 2>/dev/null +$TS_CMD_LAST -f $WTMP_FILE -d -a >> $TS_OUTPUT 2>/dev/null ts_log "~~~ show ip ~~~" -$TS_CMD_LAST -f $TS_SELF/ipv6-input -i >> $TS_OUTPUT 2>/dev/null +$TS_CMD_LAST -f $WTMP_FILE -i >> $TS_OUTPUT 2>/dev/null ts_log "~~~ show ip last ~~~" -$TS_CMD_LAST -f $TS_SELF/ipv6-input -i -a >> $TS_OUTPUT 2>/dev/null +$TS_CMD_LAST -f $WTMP_FILE -i -a >> $TS_OUTPUT 2>/dev/null + +rm -f $WTMP_FILE ts_finalize |