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>
diff --git a/lib/ltp_priv.h b/lib/ltp_priv.h
index 6a6a8bb..24c3188 100644
--- a/lib/ltp_priv.h
+++ b/lib/ltp_priv.h
@@ -25,4 +25,11 @@
/* declared in tst_tmpdir.c */
const char *tst_get_startwd(void);
+/*
+ * This is the default temporary directory used by tst_tmpdir().
+ *
+ * This is used when TMPDIR env variable is not set.
+ */
+#define TEMPDIR "/tmp"
+
#endif /* __LTP_PRIV_H__ */