Torsten Foertsch wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Saturday 22 November 2003 13:15, Torsten Foertsch wrote: > > I'll provide a test case for linux and windows. I think there are more OSes > > that return an error on reading a directory file. But some let it go > > without error like Solaris. For UNIX-like systems I could check if 'cat .' > > succeeds and skip the test in that case. But what about the others? And how > > to catch that it is a UNIX-like system? $^O returns a string but not > > UNIX-likeness. Is there a portable solution for that? > > > > Is it better to put the new test in an existing file (e.g. t/io/read.t) or > > should I create a new test file? > > Ok, here is a test. I think, it is portable. > > - --- perl-5.8.2/t/io/readline.t 1970-01-01 01:00:00.000000000 +0100 > +++ perl-5.8.2.new/t/io/readline.t 2003-11-22 14:13:30.000000000 +0100 Thanks, applied as 21787. I moved the test to t/op/readline.t, though.Thread Previous | Thread Next