4 #include "tests/main.h"
6 const char *test_name = "child-sort";
8 unsigned char buf[128 * 1024];
12 main (int argc UNUSED, char *argv[])
21 CHECK ((handle = open (argv[1])) > 1, "open \"%s\"", argv[1]);
23 size = read (handle, buf, sizeof buf);
24 for (i = 0; i < size; i++)
27 for (i = 0; i < sizeof histogram / sizeof *histogram; i++)
29 size_t j = histogram[i];
34 write (handle, buf, size);