| Message ID | 1768520616-7289-4-git-send-email-mark.hatle@kernel.crashing.org |
|---|---|
| State | New |
| Headers | show |
| Series | Consolidated pseudo patches | expand |
diff --git a/test/test-statx.sh b/test/test-statx.sh index 77d0302..045f6ff 100755 --- a/test/test-statx.sh +++ b/test/test-statx.sh @@ -3,4 +3,16 @@ # SPDX-License-Identifier: LGPL-2.1-only # -exec ./test/test-statx +tmplog="$(mktemp pseudo.log.XXXXXXXX)" +./test/test-statx >${tmplog} 2>&1 +rc=$? + +if grep -q "couldn't allocate absolute path for 'null'." ${tmplog} ; then + echo "Unexpected message: \"couldn't allocate absolute path for 'null'.\" found." + rc=1 +fi + +cat ${tmplog} + +rm $tmplog +exit $rc
Capture the output and compare to a know error message, error if the null message is present. This is currently a known failure, reported in Yocto Project bug 16075. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> --- test/test-statx.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)