coreutils: Update from 8.27 to 8.28
[termux-packages] / packages / coreutils / tests / tails-c-flag.sh
CommitLineData
7fa69461 1# https://github.com/termux/termux-app/issues/232
627fdeb1
FF
2set -e -u
3
4RESULT=$(echo -n 123456 | tail -c 3)
5if [ "$RESULT" != 456 ]; then
6 echo "Test failed - expectd 456, got $RESULT"
7 exit 1
8fi