This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3, trivial] Clean up a bit a couple of testfiles


Hi,

tested x86-linux, committed.

Paolo.

/////////
2003-05-10  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
	unnecessary includes and unused string literals.
	* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_filebuf/close/char/3.cc libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_filebuf/close/char/3.cc	2003-04-12 21:21:34.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc	2003-05-10 16:51:37.000000000 +0200
@@ -21,12 +21,6 @@
 // 27.8.1.4 Overridden virtual functions
 
 #include <fstream>
-#include <unistd.h>
-#include <signal.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <locale>
 #include <testsuite_hooks.h>
 
 // @require@ %-*.tst %-*.txt
@@ -39,16 +33,9 @@
 const int buffer_size = 8192;
 //const int buffer_size = 40;
 
-const char carray_01[] = "santa cruz or sandiego?";
-const char carray_02[] = "memphis, new orleans, and savanah";
 const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it
 const char name_02[] = "filebuf_virtuals-2.txt"; // empty file, need to create
 const char name_03[] = "filebuf_virtuals-3.txt"; // empty file, need to create
-const char name_04[] = "filebuf_virtuals-4.txt"; // empty file, need to create
-const char name_05[] = "filebuf_virtuals-5.txt"; // empty file, need to create
-const char name_06[] = "filebuf_virtuals-6.txt"; // empty file, need to create
-const char name_07[] = "filebuf_virtuals-7.txt"; // empty file, need to create
-const char name_08[] = "filebuf_virtuals-8.txt"; // empty file, need to create
 
 class derived_filebuf: public std::filebuf
 {
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_filebuf/in_avail/char/1.cc libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_filebuf/in_avail/char/1.cc	2003-04-15 00:43:32.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc	2003-05-10 16:54:03.000000000 +0200
@@ -21,12 +21,6 @@
 // 27.8.1.4 Overridden virtual functions
 
 #include <fstream>
-#include <unistd.h>
-#include <signal.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <locale>
 #include <testsuite_hooks.h>
 
 // @require@ %-*.tst %-*.txt
@@ -39,8 +33,6 @@
 const int buffer_size = 8192;
 //const int buffer_size = 40;
 
-const char carray_01[] = "santa cruz or sandiego?";
-const char carray_02[] = "memphis, new orleans, and savanah";
 const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it
 const char name_02[] = "filebuf_virtuals-2.txt"; // empty file, need to create
 const char name_03[] = "filebuf_virtuals-3.txt"; // empty file, need to create

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]