keenerd / gz-sort

A utility for sorting really big files. http://kmkeen.com/gz-sort/
GNU General Public License v3.0
91 stars 5 forks source link

Test failures on Fedora and OpenBSD #8

Open sjmulder opened 6 years ago

sjmulder commented 6 years ago

Fedora:

$ git rev-parse HEAD; uname -a; cc --version; make test
c596bcb2921430d476a61bf0f6852cd84ad46e84
Linux sijmens-pc.home 4.16.3-301.fc28.x86_64 #1 SMP Mon Apr 23 21:59:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
cc (GCC) 8.0.1 20180324 (Red Hat 8.0.1-0.20)
Copyright © 2018 Free Software Foundation, Inc.
Dit is vrije software; zie de broncode voor kopieercondities.  Er is GEEN
garantie; zelfs niet voor VERKOOPBAARHEID of GESCHIKTHEID voor een bepaald
doel.

cc -O3 -std=gnu99 -Wall -Werror -pedantic -Wextra -pthread    -c -o gz-sort.o gz-sort.c
cc   gz-sort.o  -lz -lpthread -o gz-sort
rm -f tests/*.gz
./tests/_setup.sh
./tests/_run-all.sh
./tests/small_unique.sh
removed 2 non-unique lines
./tests/small_sort.sh
./tests/simple.sh
./tests/pass-through.sh
./tests/small_buffer.sh
removed 25218 non-unique lines
ERROR - ./tests/small_buffer.sh (unique)
./tests/unique.sh
removed 25218 non-unique lines
ERROR - ./tests/unique.sh
./tests/threaded.sh
removed 25218 non-unique lines
ERROR - ./tests/threaded.sh (unique)
rm -f tests/*.gz

OpenBSD (on my wip/openbsd branch):

$ git rev-parse HEAD; uname -a; cc --version; make test
ce2982fd81eef3278cc8ae6f2b3031c69c8410a8
OpenBSD openbsd.[REDACTED] 6.3 GENERIC#100 amd64
OpenBSD clang version 5.0.1 (tags/RELEASE_501/final) (based on LLVM 5.0.1)
Target: amd64-unknown-openbsd6.3
Thread model: posix
InstalledDir: /usr/bin
rm -f tests/*.gz
./tests/_setup.sh
./tests/_run-all.sh
./tests/pass-through.sh
./tests/simple.sh
./tests/small_buffer.sh
removed 1520 non-unique lines
./tests/small_sort.sh
tput: not enough arguments (3) for capability `setaf'
ERROR - ./tests/small_sort.sh
./tests/small_unique.sh
removed 2 non-unique lines
./tests/threaded.sh
removed 1520 non-unique lines
./tests/unique.sh
removed 1520 non-unique lines
rm -f tests/*.gz

(Interestingly, this only happened the second run on OpenBSD. First run went fine.)

keenerd commented 6 years ago

How is ec6693102 for you?