OSDN Git Service

* tests/lha-test.in (check): print script line number when test failed.
[lha/lha.git] / tests / lha-test5
index 7b05fa6..1d710fe 100644 (file)
@@ -2,8 +2,8 @@
 message testing to treat stdin/stdout as archive file.
 
 $lha c - test-a test-b test-c > test-tmp.lzh
-                                                       check $?
+                                                       check $? $LINENO
 cat test-tmp.lzh | $lha xw=test-tmp -
-                                                       check $?
+                                                       check $? $LINENO
 diff -r test-1 test-tmp
-                                                       check $?
+                                                       check $? $LINENO