test failure with bad file descriptor (recode compatibility?)
nieder opened this issue · comments
On OS X 10.11, I get these two failures (1.18, 1.19 and git HEAD ebcbd60)
========================================
Enca 1.20-dev: test/test-suite.log
========================================
# TOTAL: 21
# PASS: 19
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: ./test-tex.sh
===================
enca: `recode' doesn't look like a valid converter name
enca: Cannot seek in file `/tmp/encaJZ3Jwq': Bad file descriptor
enca: Cannot close file `/tmp/encaJZ3Jwq': Bad file descriptor
enca: `recode' doesn't look like a valid converter name
FAIL test-tex.sh (exit status: 1)
FAIL: ./test-recode.sh
======================
enca: Cannot close file `/tmp/encaerBIw1': Bad file descriptor
enca: Cannot close file `/tmp/encaDoaUJX': Bad file descriptor
enca: Cannot seek in file `test-recode.actual': Bad file descriptor
enca: Cannot close file `test-recode.actual': Bad file descriptor
enca: librecode probably damaged `STDIN'. No way to recover in a pipe.
1d0
< n?por po?ouchl?ch ?lut?ch ???an? p?ehlu?il i zu??c? ork?n
FAIL test-recode.sh (exit status: 1)
I have recode-3.7 installed. The tests work with recode-3.6.
I belive this issue as well as #33, #28 and #29 are resolved by rrthomas/recode#4.