kubo/test/sharness/lib
Steven Allen 39197ff8d3 sharness: fix the 'useful error message when adding a named pipe' test
We were removing the file before testing, ignoring the error from stat, and then
grepping for `Error: Unrecognized file type for named-pipe: ` (because nothing
was sent to stdout).

This fix:

1. Changes our stat command to output failed to stdout on failure to ensure that
bugs like this *can't* happen.
2. Checks to make sure stat actually succeeds.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-31 18:31:40 -07:00
..
install-sharness.sh make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00
iptb-lib.sh pubsub sharness tests after chriscool feedback 2016-12-04 03:22:51 +01:00
random-dep.go added random-files tool for testing 2015-07-29 03:18:24 -07:00
test-aggregate-results.sh moved sharness tests to a subdir. 2015-01-07 07:10:17 -08:00
test-lib-hashes.sh assets: rebuild them 2016-11-03 00:38:32 +01:00
test-lib.sh sharness: fix the 'useful error message when adding a named pipe' test 2017-07-31 18:31:40 -07:00