3
0

cat.tests 401 B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. # Copyright 2018 by Denys Vlasenko <vda.linux@googlemail.com>
  3. # Licensed under GPLv2, see file LICENSE in this source tree.
  4. . ./testing.sh
  5. # testing "description" "command" "result" "infile" "stdin"
  6. optional FEATURE_CATV
  7. testing 'cat -e' \
  8. 'cat -e' \
  9. 'foo$\n' \
  10. '' \
  11. 'foo\n'
  12. SKIP=
  13. optional FEATURE_CATV
  14. testing 'cat -v' \
  15. 'cat -v' \
  16. 'foo\n' \
  17. '' \
  18. 'foo\n'
  19. SKIP=
  20. exit $FAILCOUNT