Commit Graph

22 Commits

Author SHA1 Message Date
Dan Church ed9e369069
CI: Fix unused variables 2023-07-24 14:07:19 -05:00
Dan Church 2d06e1bd1b
CI: Add test for mixed readonly/read-write files 2023-07-20 17:36:42 -05:00
Dan Church 76da187807
CI: Improve method of capturing output 2023-07-20 15:37:17 -05:00
Dan Church d13f8ff83c
CI: Add underscores to long number (PBP) 2023-07-20 15:29:45 -05:00
Dan Church a8db0b17fe
CI: Close file handles ASAP 2023-07-20 15:11:25 -05:00
Dan Church 7d389377a1
CI: Fix unlabelled test 2023-07-20 14:30:23 -05:00
Dan Church 3e96b9bc19
Use croak/carp instead of die/warn (PBP) 2023-07-20 14:30:05 -05:00
Dan Church d6be215a06
Fix join()ed readline (PBP)
Use $/ to slurp the whole handle instead of splitting and joining.
2023-07-20 14:00:46 -05:00
Dan Church 9115c6bdca
CI: Fix TestFunctions
- Use 'use parent' instead of '@ISA'
- Add Perl::Critic leniency
2023-07-20 13:56:52 -05:00
Dan Church 971b76ab37
CI: Move to plan-less tests 2023-07-20 13:44:37 -05:00
Dan Church f3db5cf5ee
CI: Start all tests with bangline
Perl::Critic will think they're modules otherwise.
2023-07-20 13:44:02 -05:00
Dan Church 62f2503cb0
Remove vim modelines
That's what .editorconfig is for.
2023-07-20 13:39:42 -05:00
Dan Church 98c2c04263
Remove postfix if/for (PBP) 2023-07-20 13:05:12 -05:00
Dan Church 31fe372e09
Fix implicit return (PBP) 2023-07-20 12:37:27 -05:00
Dan Church 7dbbb5422a
Unpack @_ first (PBP) 2023-07-20 12:37:07 -05:00
Dan Church 907a7113a8
Remove Perl 4 sigils (PBP) 2023-07-20 12:41:07 -05:00
Dan Church 1582920286
CI: Don't use FindBin to set test library path 2023-06-23 13:39:13 -05:00
Dan Church 22a7b86113
CI: Replace shell script tests with TAP harness
During all this I uncovered a bug in how Archive::Tar handles sparse
files stored in tarballs; the library reports the file as having no
contents and a size of 0. As a result, in the freed-bytes-commas test,
the tarball extraction has been replaced by on-the-fly file creation.
2023-01-29 15:39:25 -06:00
Dan Church 5da826e664
CI: Add gitlab-ci.yml 2022-11-16 13:38:30 -06:00
Dan Church 93f0245d6b
+1 test 2022-09-13 11:50:51 -05:00
Dan Church c750b11c7e
Update test
Make sure to print when a control character is present. If it doesn't,
it leads to confusion when bash reports two apparently-equal strings
don't actually match due to the presence of a non-printing character.
2020-12-14 10:19:28 -06:00
Dan Church 7d19ccd876
Add test 2018-01-21 15:01:40 -06:00