gerrit/tools/bzl/test_empty.sh

9 lines
80 B
Bash
Executable File

#!/bin/sh
if test -s $1
then
echo "$1 not empty:"
cat $1
exit 1
fi