about summary refs log tree commit diff
path: root/stdio-common/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-08 16:32:55 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-08 16:32:55 +0000
commit75684bd7a8e660feeac0e8fa3464af8c190cf1f2 (patch)
tree78e9a40fc026f266df0b4273a5334d4ce7724f2a /stdio-common/Makefile
parent38dc8fad642838e0ef54392bcec069ffb8dc3c98 (diff)
downloadglibc-75684bd7a8e660feeac0e8fa3464af8c190cf1f2.tar.gz
glibc-75684bd7a8e660feeac0e8fa3464af8c190cf1f2.tar.xz
glibc-75684bd7a8e660feeac0e8fa3464af8c190cf1f2.zip
* stdio-common/Makefile: Add rules to build and run tst-setvbuf1.
	* stdio-common/tst-setvbuf1.c: New file.
	* stdio-common/tst-setvbuf1.expect: New file.
Diffstat (limited to 'stdio-common/Makefile')
-rw-r--r--stdio-common/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index f8ae6f25d9..944270dafe 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 1991-2006, 2007, 2008 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -58,7 +58,7 @@ tests := tstscanf test_rdwr test-popen tstgetln test-fseek \
 	 tst-popen tst-unlockedio tst-fmemopen2 tst-put-error tst-fgets \
 	 tst-fwrite bug16 bug17 tst-swscanf tst-sprintf2 bug18 bug18a \
 	 bug19 bug19a tst-popen2 scanf13 scanf14 scanf15 bug20 bug21 bug22 \
-	 scanf16 scanf17
+	 scanf16 scanf17 tst-setvbuf1
 
 test-srcs = tst-unbputc tst-printf
 
@@ -130,3 +130,7 @@ bug15-ENV = LOCPATH=$(common-objpfx)localedata
 ifneq (,$(filter %REENTRANT, $(defines)))
 CPPFLAGS += -D_IO_MTSAFE_IO
 endif
+
+$(objpfx)tst-setvbuf1.out: tst-setvbuf1.expect $(objpfx)tst-setvbuf1
+	$(built-program-cmd) > $@ 2>&1
+	cmp tst-setvbuf1.expect $@