Revision 024ade7b1079337340a86c8dbe7e99f82998cce4 authored by Sebastian Dröge on 04 January 2019, 11:00:34 UTC, committed by Sebastian Dröge on 04 January 2019, 13:11:52 UTC
These would only happen if the API contract of the write() and writev() functions was broken by subclasses.
1 parent 2d8ce2c
sanity_check
#!/bin/sh
VERSION=$1
if [ ! -f glib-$VERSION.tar.gz ]; then
echo "ERROR: glib-$VERSION.tar.gz does not exist..."
exit 1
fi
echo ""
echo "Checking glib-$VERSION.tar.gz..."
tar xfz glib-$VERSION.tar.gz
for file in INSTALL NEWS
do
echo -n "$file... "
if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" = "x0" ]; then
echo "failed."
#exit 1
else
echo "ok"
fi
done
echo -n "INSTALL..."
if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" = "x2" ]; then
echo "ok"
else
echo "failed."
exit 1
fi
echo ""
echo "Number of lines in created documentation files:"
wc -l glib-$VERSION/docs/reference/*/html/*.html | grep total
rm -rf glib-$VERSION
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...