glib/tests
Chun-wei Fan ccba409d34 tests/: Avoid closing invalid fd's
...and only include unistd.h when we are on *NIX.

Newer Visual C++ runtimes (8.0/2005 and later) will cause the program to
crash with an internal abort() call when they detect instances of close()
being called on an invalid fd, such as when the fd is -1, and these should
be purged anyways.

https://bugzilla.gnome.org/show_bug.cgi?id=711047
2013-11-11 22:36:32 +08:00
..
collate Add Collation tests. 2005-10-05 17:37:46 +00:00
gobject defaultiface: Fix leak in test 2013-11-11 07:27:22 +01:00
refcount fix up refcount/properties test case 2013-09-23 17:07:33 -04:00
.gitignore .gitignore updates 2013-01-26 10:09:33 -05:00
assert-msg-test.c Use (void) for no parameters, not () 2012-11-01 20:12:02 -04:00
assert-msg-test.gdb Fix the assert-msg test 2013-01-14 17:35:47 -05:00
asyncqueue-test.c asyncqueue-test: Fix leaks in tests 2013-11-10 22:40:58 +01:00
atomic-test.c Remove deprecated atomic functions from tests 2011-06-06 00:30:02 -04:00
bit-test.c Fix tests on x86_64. 2007-01-05 03:31:54 +00:00
casefold.txt Update case conversion test data for Unicode 6.1 2012-02-26 21:49:20 -05:00
casemap.txt Update case conversion test data for Unicode 6.1 2012-02-26 21:49:20 -05:00
child-test.c child-test: Fix leak in test 2013-11-10 22:41:16 +01:00
completion-test.c completion-test: Fix leaks in tests 2013-11-10 22:41:29 +01:00
cxx-test.C Add gio/gio.h include to check for c++ problems. 2008-01-08 20:37:43 +00:00
datetime.c datetime: Fix leak in test 2013-11-10 22:42:57 +01:00
dirname-test.c Fix Win32 behaviour in some cases where a drive letter is present. For 2004-03-21 21:43:13 +00:00
env-test.c Remove critical log handler; we can't trigger g_return_if_fails() in our 2004-03-14 04:27:26 +00:00
file-test.c tests/: Avoid closing invalid fd's 2013-11-11 22:36:32 +08:00
gen-casefold-txt.pl Update Unicode data to 4.0. (#107974) 2003-07-31 02:27:56 +00:00
gen-casemap-txt.pl Unicode 4.0 special casing. (#114681) 2003-09-10 16:55:36 +00:00
gio-ls.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
gio-test.c gio-test: Fix leaks in tests 2013-11-10 22:41:44 +01:00
iochannel-test-infile Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c 2001-07-20 20:14:37 +00:00
iochannel-test.c iochannel-test: Fix leaks in test 2013-11-10 22:45:04 +01:00
libmoduletestplugin_a.c tests/libmoduletestplugins*.c: Update Prototypes 2013-11-04 10:31:28 +08:00
libmoduletestplugin_b.c tests/libmoduletestplugins*.c: Update Prototypes 2013-11-04 10:31:28 +08:00
mainloop-test.c mainloop-test: Fix leaks in tests 2013-11-10 22:43:25 +01:00
Makefile.am Rework the build system for a new tests approach 2013-05-31 23:12:15 -04:00
makefile.msc.in Updated msvc build files 2009-05-30 15:29:23 +02:00
mapping-test.c mapping-test: Fix leaks in tests 2013-11-10 22:42:29 +01:00
memchunks.c Remove g_mutex_new()/g_cond_new() in testcases 2011-10-04 19:35:27 -04:00
module-test.c module-test: Fix leaks in test 2013-11-10 22:53:42 +01:00
onceinit.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
qsort-test.c win32: misc warning fixes 2012-11-15 14:19:06 -05:00
relation-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
run-assert-msg-test.sh tests: fix a few recently-broken tests 2013-05-21 11:21:36 -03:00
run-collate-tests.sh Silently skip tests if we can't set LC_COLLATE to en_US. (#336438) 2006-12-24 21:47:05 +00:00
slice-color.c slice-color test: don't use non-existent macro 2012-05-01 15:16:05 -07:00
slice-concurrent.c Fix more warning-addition fallout 2012-11-02 16:27:19 +00:00
slice-test.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
slice-threadinit.c Fix make check 2011-05-01 17:10:04 -04:00
sources.c win32: fix tests/sources.c 2012-08-21 21:15:45 +02:00
spawn-test-win32-gui.c Minor Cygwin fix. (#138405, Roger Leigh) 2004-03-31 02:13:52 +00:00
spawn-test.c Not needed, just use -DPCRE_STATIC. 2007-11-07 09:49:25 +00:00
testgdate.c Try to make the testgdate test hobble along a little longer 2013-06-17 12:40:47 -04:00
testgdateparser.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
testglib.c tests/: Avoid closing invalid fd's 2013-11-11 22:36:32 +08:00
thread-test.c thread-test: Fix leaks in tests 2013-11-10 22:44:12 +01:00
threadpool-test.c Remove a bunch of lingering g_thread_init() 2013-05-31 23:03:19 -04:00
timeloop-basic.c Some file list updates (#398069, Owen Taylor) 2007-01-19 15:50:30 +00:00
timeloop.c timeloop: Fix leaks in tests 2013-11-11 08:14:45 +01:00
type-test.c Fix docs for G_MAXSIZE. (#148262, Christophe Fergeau) 2004-07-23 14:39:25 +00:00
unicode-caseconv.c Some final g_test_build_filename() porting 2013-05-31 23:03:19 -04:00
unicode-collate.c build: Add missing "static" keyword where it should be used 2012-11-01 20:12:01 -04:00
unicode-encoding.c unicode-encoding: Fix leaks in test 2013-11-10 22:44:39 +01:00
unicode-normalize.c Update to reflect Unicode PR #29 (#348694, Nikolai Weibull) 2006-07-31 04:50:05 +00:00
utf8.txt More clean up for Unicode corrigendum #9 2013-03-18 23:28:27 -04:00