~sircmpwn/ctools

08754b6369080069b754b24cde8e8fd06449a2a3 — Drew DeVault 2 years ago bfda9f4
false: add conformance test
2 files changed, 15 insertions(+), 0 deletions(-)

A test/false
M test/meson.build
A test/false => test/false +14 -0
@@ 0,0 1,14 @@
#!/bin/sh
. "$HARNESS" false

should_return_nonzero() {
	! false
}

should_return_nonzero_w_flags() {
	! false -a 123 foobar
}

runtests \
	should_return_nonzero \
	should_return_nonzero_w_flags

M test/meson.build => test/meson.build +1 -0
@@ 7,6 7,7 @@ test_files = [
	'chown',
	'cksum',
	'cmp',
	'false',
]

foreach test_file : test_files