xref: /linux/tools/testing/selftests/splice/default_file_splice_read.sh (revision eb01fe7abbe2d0b38824d2a93fdb4cc3eaf2ccc1)
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0
3n=`./default_file_splice_read </dev/null | wc -c`
4
5test "$n" = 0 && exit 0
6
7echo "default_file_splice_read broken: leaked $n"
8exit 1
9