3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-12 10:15:54 +00:00
Brooklyn/tools/testing/selftests/splice/default_file_splice_read.sh

9 lines
178 B
Bash
Raw Normal View History

2022-04-02 18:24:21 +05:00
#!/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