summaryrefslogtreecommitdiff
path: root/testsuite/cat.tests
blob: 404ebedeb06d16c143a326fe6df7f33eb43cbd37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# Copyright 2018 by Denys Vlasenko <vda.linux@googlemail.com>
# Licensed under GPLv2, see file LICENSE in this source tree.

. ./testing.sh

# testing "description" "command" "result" "infile" "stdin"
testing 'cat -e' \
	'cat -e' \
	'foo$\n' \
	'' \
	'foo\n'

testing 'cat -v' \
	'cat -v' \
	'foo\n' \
	'' \
	'foo\n'

exit $FAILCOUNT