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