-
sharness: fix the 'useful error message when adding a named pipe' test · 39197ff8
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>
由 Steven Allen 提交于39197ff8
×