Sign in
hafnium
/
hafnium
/
third_party
/
linux
/
0f672f6c0b52b7b0700b0915c72b540721af4465
/
.
/
tools
/
testing
/
selftests
/
splice
/
default_file_splice_read.sh
blob: 490db5a2e4352185e9672bcf78a00a4602c13823 [
file
] [
log
] [
blame
]
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
n
=
`./default_file_splice_read </dev/null | wc -c`
test
"$n"
=
0
&&
exit
0
echo
"default_file_splice_read broken: leaked $n"
exit
1