summaryrefslogtreecommitdiff
path: root/lib/FileHandle.t
Commit message (Collapse)AuthorAgeFilesLines
* do not count tests, instead use done_testing()Michiel Beijen2021-12-041-1/+3
| | | | | | | | | | | | | | | Having to count tests is annoying for maintainers. Also, manually updating count tests is problematic when multiple people are working on the same code; it causes merge conflicts and recounts. done_testing() is available since Test::More 0.88 which was released in 2009. This commit changes all tests under lib/ that use Test::More and were planning the number of tests. Michiel Beijen is now a Perl author
* Remove DOS/DJGPP supportDagfinn Ilmari Mannsåker2021-11-021-5/+2
| | | | | | DJGPP is a port of the GNU toolchain to 32-bit x86 systems running DOS. The last known attempt to build Perl on it was on 5.20, which only got as far as building miniperl.
* Remove NetWare supportDagfinn Ilmari Mannsåker2021-10-081-1/+1
| | | | The build has been broken since 2009.
* Revert "t/TEST: add -w to shebang, fix a used-once warning"Father Chrysostomos2014-11-131-1/+1
| | | | | | | | This reverts commit da6e3e61d3d3194e7f769b7ddf7e6d16904c24d3. This causes problems for deparse mode, which emits pages of warnings. If we are going to add -w, we ought first to fix deparse testing to work with it.
* t/TEST: add -w to shebang, fix a used-once warningJim Cromie2014-11-061-1/+1
| | | | | | | Adding -w should be ok, despite peculiar code style; it avoids require, unlike "use strict". Added risk of perl brokenness seems vanishingly small. Fix one used-once warning thus exposed, and one test in FileHandle.t surprised by t/TEST's new '-w' in the shebang.
* Convert lib/FileHandle.t to use of Test::More; provide descriptions.James E Keenan2013-07-161-56/+59
| | | | | | | | | | | | | | | | | Previously, file used hand-coded 'print "ok"' statements and no tests had descriptions (a.k.a. labels or names). Convert to use of Test::More functions and provide descriptions for all individual tests. Previously, file used global variables extensively and did not 'use strict' (except 'use strict subs'). The globals have been converted to lexicals where appropriate and the file now runs fully under strictures. Other than that, no attempt was made to improve the design of the file or the quality of the tests. (That can be done in a later RT, if desired.) Thanks to Peter Martini for guidance, Dagfinn Ilmari Mannsåker for guidance and code review on list and Tony Cook for additional review. For: RT #118883
* Remove the MPE/iX port.Nicholas Clark2012-09-211-4/+0
| | | | | MPE/iX was a business-oriented minicomputer operating system made by Hewlett-Packard. Support from HP terminated at the end of 2010.
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* [perl #21672] IO::New and undefined filename behaviourmike@exegenix.com2003-03-261-1/+3
| | | | | | | From: "mike@exegenix.com (via RT)" <perlbug-followup@perl.org> Message-Id: <rt-21672-54038.2.07650993465862@bugs6.perl.org> plus a regression test p4raw-id: //depot/perl@19072
* MPE/iX fixes from Mark Bixby (a Configure fix is also needed.)Jarkko Hietaniemi2001-06-201-0/+4
| | | p4raw-id: //depot/perl@10752
* The Grand Trek: move the *.t files from t/ to lib/ and ext/.Jarkko Hietaniemi2001-06-181-0/+91
No doubt I made some mistakes like missed some files or misnamed some files. The naming rules were more or less: (1) if the module is from CPAN, follows its ways, be it t/*.t or test.pl. (2) otherwise if there are multiple tests for a module put them in a t/ (3) otherwise if there's only one test put it in Module.t (4) helper files go to module/ (locale, strict, warnings) (5) use longer filenames now that we can (but e.g. the compat-0.6.t and the Text::Balanced test files still were renamed to be more civil against the 8.3 people) installperl was updated appropriately not to install the *.t files or the help files from under lib. TODO: some helper files still remain under t/ that could follow their 'masters'. UPDATE: On second thoughts, why should they. They can continue to live under t/lib, and in fact the locale/strict/warnings helpers that were moved could be moved back. This way the amount of non-installable stuff under lib/ stays smaller. p4raw-id: //depot/perl@10676