lib, include: Remove all references to TDIRECTORY.

It was not used at all TMPDIR is correct name for the env variable.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/pipe07: Rewrite.

* Remove useless comments & usuall stuff.

* Get rid of the ugly system() and use readdir()
  to count number of open files.

  (and remove the ugly hacks to create temp dirs
   that are no longer needed)

* Close the pipes after the test has finished
  so that test looping works

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
lib, include: Move TEMPDIR to private header.

The test code should not use this env variable at all.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
include: Remove unused _SC_CRAY_SYSTEM.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
include: Move a few more defs to private header.

TOUT_* constants used in tst_res.c
USC_* constants used in parse_opts.c

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
testcases/kernel/syscalls Add mmap13 to .gitignore

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>