r19434: we need to force line buffering as the new torture code doesn't create
authorAndrew Tridgell <tridge@samba.org>
Sat, 21 Oct 2006 06:40:39 +0000 (06:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:21:30 +0000 (14:21 -0500)
a pty in the piped_child() code

Jelmer, if you want to fix this on platforms that support it, see the
forkpty() call, or see
http://junkcode.samba.org/ftp/unpacked/junkcode/rline/

source/lib/talloc/testsuite.c

index f51252e57bc47e3c7f957945e6724b53a7b38def..4904b21f9b07ef89276dfb1f63708b115b99c763 100644 (file)
@@ -1029,6 +1029,8 @@ int main(void)
 {
        bool ret = true;
 
+       setlinebuf(stdout);
+
        talloc_disable_null_tracking();
        talloc_enable_null_tracking();