From b1443e831ba2f876ecdf1ab1ecd43676cd059611 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 1 Oct 2012 23:56:09 -0400 Subject: [PATCH] Unit Tests - Removed mention of synch.key from all unit tests. This is an obsolete file. --- test/abbreviation.t | 3 +-- test/add.t | 3 +-- test/alias.t | 3 +-- test/annotate.t | 3 +-- test/append.t | 3 +-- test/args.1.t | 3 +-- test/args.2.t | 3 +-- test/args.3.t | 3 +-- test/args.4.t | 3 +-- test/args.5.t | 3 +-- test/args.t | 3 +-- test/backslash.t | 3 +-- test/bash_completion.t | 3 +-- test/bug.1006.t | 3 +-- test/bug.1023.t | 3 +-- test/bug.1031.t | 3 +-- test/bug.1036.t | 3 +-- test/bug.1043.t | 3 +-- test/bug.1044.t | 3 +-- test/bug.1056.t | 3 +-- test/bug.1065.t | 3 +-- test/bug.1104.t | 5 +---- test/bug.299.t | 3 +-- test/bug.327.t | 3 +-- test/bug.360.t | 3 +-- test/bug.368.t | 3 +-- test/bug.414.t | 3 +-- test/bug.417.t | 3 +-- test/bug.418.t | 3 +-- test/bug.425.t | 3 +-- test/bug.434.t | 3 +-- test/bug.438.t | 3 +-- test/bug.440.t | 3 +-- test/bug.441.t | 3 +-- test/bug.455.t | 3 +-- test/bug.480.t | 3 +-- test/bug.489.t | 3 +-- test/bug.495.t | 3 +-- test/bug.555.t | 3 +-- test/bug.580.t | 6 ++---- test/bug.605.t | 3 +-- test/bug.628.t | 3 +-- test/bug.634.t | 3 +-- test/bug.635.t | 3 +-- test/bug.649.t | 3 +-- test/bug.656.t | 3 +-- test/bug.668.t | 3 +-- test/bug.674.t | 3 +-- test/bug.694.t | 3 +-- test/bug.697.x | 3 +-- test/bug.703.t | 3 +-- test/bug.708.t | 3 +-- test/bug.804.t | 3 +-- test/bug.818.t | 3 +-- test/bug.819.t | 3 +-- test/bug.835.t | 3 +-- test/bug.837.t | 3 +-- test/bug.839.t | 3 +-- test/bug.851.t | 3 +-- test/bug.856.t | 3 +-- test/bug.860.t | 3 +-- test/bug.879.t | 3 +-- test/bug.884.t | 3 +-- test/bug.886.t | 3 +-- test/bug.899.t | 3 +-- test/bug.906.t | 3 +-- test/bug.917.t | 3 +-- test/bug.924.t | 3 +-- test/bug.932.t | 3 +-- test/bug.954.t | 3 +-- test/bug.955.t | 3 +-- test/bug.956.t | 3 +-- test/bug.972.t | 3 +-- test/bug.982.x | 3 +-- test/bug.986.t | 3 +-- test/bug.987.x | 3 +-- test/bug.990.t | 3 +-- test/bug.991.t | 3 +-- test/bug.annotate.t | 3 +-- test/bug.annual.t | 3 +-- test/bug.before.t | 3 +-- test/bug.bulk.t | 3 +-- test/bug.c001.t | 3 +-- test/bug.cal.t | 3 +-- test/bug.concat.t | 3 +-- test/bug.hang.t | 3 +-- test/bug.hasnt.t | 3 +-- test/bug.period.t | 3 +-- test/bug.range.t | 3 +-- test/bug.recur.t | 3 +-- test/bug.sort.t | 3 +-- test/bug.start.extra.t | 3 +-- test/bug.summary.t | 3 +-- test/bug.uuid.t | 3 +-- test/bulk.t | 3 +-- test/cal.t | 3 +-- test/caseless.t | 3 +-- test/color.active.t | 3 +-- test/color.blocked.t | 3 +-- test/color.deprecated.t | 3 +-- test/color.disable.t | 3 +-- test/color.due.t | 3 +-- test/color.duetoday.t | 3 +-- test/color.err.t | 3 +-- test/color.keyword.t | 3 +-- test/color.overdue.t | 3 +-- test/color.pri.t | 3 +-- test/color.project.t | 3 +-- test/color.recurring.t | 3 +-- test/color.tag.t | 3 +-- test/color.tagged.t | 3 +-- test/completed.t | 3 +-- test/config.obsolete.t | 3 +-- test/confirmation.t | 3 +-- test/count.t | 3 +-- test/countdown.t | 3 +-- test/custom.columns.t | 3 +-- test/custom.priority_long.t | 3 +-- test/custom.recur_ind.t | 3 +-- test/custom.t | 3 +-- test/custom.tag_ind.t | 3 +-- test/date.iso.t | 3 +-- test/dateformat.t | 3 +-- test/datesort.t | 3 +-- test/default.t | 3 +-- test/delete.t | 3 +-- test/denotate.t | 3 +-- test/dependencies.t | 3 +-- test/dom.2.t | 3 +-- test/due.t | 3 +-- test/duplicate.t | 3 +-- test/duplicate2.t | 3 +-- test/enpassant.t | 3 +-- test/export.yaml.t | 3 +-- test/feature.1013.t | 3 +-- test/feature.559.t | 3 +-- test/feature.608.t | 3 +-- test/feature.725.t | 3 +-- test/feature.891.t | 3 +-- test/feature.exit.t | 3 +-- test/filter-prefix.t | 3 +-- test/filter.t | 3 +-- test/fontunderline.t | 3 +-- test/history.annual.t | 3 +-- test/history.monthly.t | 3 +-- test/hook.on-exit.t | 3 +-- test/hook.on-launch.t | 3 +-- test/ids.t | 3 +-- test/import.t | 3 +-- test/import.todo.sh.t | 3 +-- test/import.yaml.t | 3 +-- test/label.t | 3 +-- test/limit.t | 3 +-- test/list.all.projects.t | 3 +-- test/list.all.tags.t | 3 +-- test/log.t | 3 +-- test/merge.duplicates.t | 12 ++++-------- test/merge.t | 6 ++---- test/nag.t | 3 +-- test/next.t | 3 +-- test/oldest.t | 3 +-- test/op_and.t | 3 +-- test/op_gt.t | 3 +-- test/op_gte.t | 3 +-- test/op_lt.t | 3 +-- test/op_lte.t | 3 +-- test/op_or.t | 3 +-- test/op_xor.t | 3 +-- test/overdue.t | 3 +-- test/override.t | 3 +-- test/prepend.t | 3 +-- test/pri_sort.t | 3 +-- test/project.t | 3 +-- test/recur.limit.t | 3 +-- test/recur.sort.t | 3 +-- test/recur.t | 3 +-- test/recur.until.t | 3 +-- test/recur.weekdays.t | 3 +-- test/roundtrip.t | 3 +-- test/sequence.t | 3 +-- test/shadow.t | 3 +-- test/shell.t | 3 +-- test/sorting.t | 3 +-- test/special.t | 3 +-- test/start.t | 3 +-- test/subproject.t | 3 +-- test/substitute.t | 3 +-- test/tag.t | 3 +-- test/tdb2.t.cpp | 22 ---------------------- test/timesheet.t | 3 +-- test/uda_date.t | 3 +-- test/uda_duration.t | 3 +-- test/uda_numeric.t | 3 +-- test/uda_orphan.t | 3 +-- test/uda_report.t | 3 +-- test/uda_string.t | 3 +-- test/uda_value.t | 3 +-- test/undo.t | 3 +-- test/upgrade.t | 3 +-- test/urgency.t | 3 +-- test/utf8.t | 3 +-- test/uuid.t | 3 +-- test/verbose.t | 3 +-- test/wait.t | 3 +-- 204 files changed, 208 insertions(+), 440 deletions(-) diff --git a/test/abbreviation.t b/test/abbreviation.t index ffca61f05..3602841ee 100755 --- a/test/abbreviation.t +++ b/test/abbreviation.t @@ -90,12 +90,11 @@ $output = qx{../src/task rc:abbrev.rc v 2>&1}; like ($output, qr/MIT\s+license/, 'version'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key abbrev.rc); +unlink qw(pending.data completed.data undo.data backlog.data abbrev.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'abbrev.rc', 'Cleanup'); exit 0; diff --git a/test/add.t b/test/add.t index 40dc5bbc7..5912246c7 100755 --- a/test/add.t +++ b/test/add.t @@ -56,12 +56,11 @@ like ($output, qr/Status\s+Pending\n/, 'add Pending'); like ($output, qr/Description\s+This a TEST\n/, 'add Description'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key add.rc); +unlink qw(pending.data completed.data undo.data backlog.data add.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'add.rc', 'Cleanup'); exit 0; diff --git a/test/alias.t b/test/alias.t index 6d52f7cc3..995c02d42 100755 --- a/test/alias.t +++ b/test/alias.t @@ -53,12 +53,11 @@ $output = qx{../src/task rc:alias.rc bar 2>&1}; like ($output, qr/ALIAS/, 'task bar -> foo -> _projects -> ALIAS'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key alias.rc); +unlink qw(pending.data completed.data undo.data backlog.data alias.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'alias.rc', 'Cleanup'); exit 0; diff --git a/test/annotate.t b/test/annotate.t index 885251f51..01c58104b 100755 --- a/test/annotate.t +++ b/test/annotate.t @@ -114,12 +114,11 @@ like ($output, qr/three.+\d{1,6}\s+\d{1,6}\s+baz1/ms,'dateformat - first annota like ($output, qr/4 tasks/, 'count'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key annotate.rc annotate2.rc); +unlink qw(pending.data completed.data undo.data backlog.data annotate.rc annotate2.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'annotate.rc' && ! -r 'annotate2.rc', 'Cleanup'); diff --git a/test/append.t b/test/append.t index a5fb3a762..1026c23b9 100755 --- a/test/append.t +++ b/test/append.t @@ -50,12 +50,11 @@ $output = qx{../src/task rc:append.rc 1 append 2>&1}; unlike ($output, qr/Appended 0 tasks/, 'blank append failed'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key append.rc); +unlink qw(pending.data completed.data undo.data backlog.data append.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'append.rc', 'Cleanup'); exit 0; diff --git a/test/args.1.t b/test/args.1.t index e04990ac7..83cdf371b 100755 --- a/test/args.1.t +++ b/test/args.1.t @@ -55,12 +55,11 @@ $output = qx{../src/task rc:args.rc done 2 2>&1}; unlike ($output, qr/^Completed 2 /ms, 'ID after COMMAND'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key args.rc); +unlink qw(pending.data completed.data undo.data backlog.data args.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'args.rc', 'Cleanup'); exit 0; diff --git a/test/args.2.t b/test/args.2.t index ad1339253..878f1ced5 100755 --- a/test/args.2.t +++ b/test/args.2.t @@ -67,12 +67,11 @@ $output = qx{../src/task rc:args.rc 5 info 2>&1}; like ($output, qr/Project\s+A/, 'done enpassant project'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key args.rc); +unlink qw(pending.data completed.data undo.data backlog.data args.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'args.rc', 'Cleanup'); exit 0; diff --git a/test/args.3.t b/test/args.3.t index 065005aa6..f3f22ac62 100755 --- a/test/args.3.t +++ b/test/args.3.t @@ -67,12 +67,11 @@ $output = qx{../src/task rc:args.rc 5 info 2>&1}; like ($output, qr/Project\s+A/, 'delete enpassant project'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key args.rc); +unlink qw(pending.data completed.data undo.data backlog.data args.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'args.rc', 'Cleanup'); exit 0; diff --git a/test/args.4.t b/test/args.4.t index 098a18d79..6f993ab49 100755 --- a/test/args.4.t +++ b/test/args.4.t @@ -67,12 +67,11 @@ $output = qx{../src/task rc:args.rc 5 info 2>&1}; like ($output, qr/Project\s+A/, 'start enpassant project'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key args.rc); +unlink qw(pending.data completed.data undo.data backlog.data args.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'args.rc', 'Cleanup'); exit 0; diff --git a/test/args.5.t b/test/args.5.t index 913e36a74..f875e7023 100755 --- a/test/args.5.t +++ b/test/args.5.t @@ -73,12 +73,11 @@ $output = qx{../src/task rc:args.rc 5 info 2>&1}; like ($output, qr/Project\s+A/, 'stop enpassant project'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key args.rc); +unlink qw(pending.data completed.data undo.data backlog.data args.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'args.rc', 'Cleanup'); exit 0; diff --git a/test/args.t b/test/args.t index 2e6cc6bcd..f39f28b28 100755 --- a/test/args.t +++ b/test/args.t @@ -61,12 +61,11 @@ $output = qx{../src/task rc:args.rc info 1 2>&1}; like ($output, qr/Description\s+project:p\spri:H\s\+tag\sfoo\n/ms, 'task 1 modify -- project:p pri:H +tag foo'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key args.rc); +unlink qw(pending.data completed.data undo.data backlog.data args.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'args.rc', 'Cleanup'); exit 0; diff --git a/test/backslash.t b/test/backslash.t index 43b01fe35..e8d62f79b 100755 --- a/test/backslash.t +++ b/test/backslash.t @@ -44,12 +44,11 @@ my $output = qx{../src/task rc:backslash.rc ls 2>&1}; like ($output, qr/\\/, 'Backslash preserved, no parsing issues'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key backslash.rc); +unlink qw(pending.data completed.data undo.data backlog.data backslash.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'backslash.rc', 'Cleanup'); exit 0; diff --git a/test/bash_completion.t b/test/bash_completion.t index 45d377c0d..f8119de87 100755 --- a/test/bash_completion.t +++ b/test/bash_completion.t @@ -129,12 +129,11 @@ ok ($? == 0, 'Exit status check'); unlike ($output, qr/1/, '\'depe:\' does not expand if abbreviation.minimum is 5'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc task.sh); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc task.sh); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc' && ! -r 'task.sh', 'Cleanup'); diff --git a/test/bug.1006.t b/test/bug.1006.t index 2395f940e..8ad53de5c 100755 --- a/test/bug.1006.t +++ b/test/bug.1006.t @@ -58,12 +58,11 @@ $output = qx{../src/task rc:bug.rc list interdite 2>&1}; like ($output, qr/entrée interdite/, "'entrée' left intact"); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.1023.t b/test/bug.1023.t index 44e52de9f..c98eb6bf2 100755 --- a/test/bug.1023.t +++ b/test/bug.1023.t @@ -59,12 +59,11 @@ unlike ($output, qr/Project\s*garden/, "default project not re-applied on attrib unlike ($output, qr/Project\s*home/, "default project not re-applied on attribute removal."); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.1031.t b/test/bug.1031.t index ec4fa1779..6eaaecc8c 100755 --- a/test/bug.1031.t +++ b/test/bug.1031.t @@ -54,12 +54,11 @@ $output = qx{../src/task rc:bug.rc 3 info 2>&1}; like ($output, qr/Description\s+to from$/ms, "'to -- from' --> 'to from'"); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.1036.t b/test/bug.1036.t index b994d2977..782f56ded 100755 --- a/test/bug.1036.t +++ b/test/bug.1036.t @@ -51,12 +51,11 @@ $output = qx{../src/task rc:bug.rc 1 mod /test/Test/ 2>&1}; like ($output, qr/^Modifying task 1 'Test'.$/ms, 'Task with "until" attribute modified'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.1043.t b/test/bug.1043.t index 69046f672..469d58bf9 100755 --- a/test/bug.1043.t +++ b/test/bug.1043.t @@ -51,12 +51,11 @@ $output = qx{../src/task rc:bug.rc _zshcommands 2>&1}; unlike ($output, qr/samplealias/, 'aliases are not listed in _zshcommands'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.1044.t b/test/bug.1044.t index 9b833e5f2..048b4be43 100755 --- a/test/bug.1044.t +++ b/test/bug.1044.t @@ -51,12 +51,11 @@ my $output = qx{../src/task rc:bug.rc project:B projects 2>&1}; like ($output, qr/^1 project \(1 task\)$/ms, 'Summary filtered new deleted task 3 and project A'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.1056.t b/test/bug.1056.t index 10b86ba14..5eaea7b2a 100755 --- a/test/bug.1056.t +++ b/test/bug.1056.t @@ -61,12 +61,11 @@ like ($lines[5], qr/^\s\schild\s+\d/, "' child' indented, withou like ($lines[6], qr/^myProject\.\s+\d/, "'myProject.' not indented, with data"); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.1056); +unlink qw(pending.data completed.data undo.data backlog.data bug.1056); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.1056', 'Cleanup'); exit 0; diff --git a/test/bug.1065.t b/test/bug.1065.t index 5f25f1abd..b26aeb724 100755 --- a/test/bug.1065.t +++ b/test/bug.1065.t @@ -68,12 +68,11 @@ ok ($? == 0, 'Exit status check'); unlike ($output, qr/unrecognized variables/, 'Message is not shown when no non-default matches in pattern'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.1104.t b/test/bug.1104.t index 955d637d8..53ce14fc3 100755 --- a/test/bug.1104.t +++ b/test/bug.1104.t @@ -137,24 +137,21 @@ ok ($? == 0, 'Exit status check'); unlike ($output, qr/Retaining/, "Must not retain changes"); # Cleanup. -unlink qw(1.rc 1/pending.data 1/completed.data 1/undo.data 1/backlog.data 1/synch.key 2/pending.data 2/completed.data 2/undo.data 2.rc 2/backlog.data 2/synch.key dropbox/completed.data dropbox/pending.data dropbox/undo.data 3/pending.data 3/undo.data 3/completed.data 3/backlog.data 3/synch.key 3.rc); +unlink qw(1.rc 1/pending.data 1/completed.data 1/undo.data 1/backlog.data 2/pending.data 2/completed.data 2/undo.data 2.rc 2/backlog.data dropbox/completed.data dropbox/pending.data dropbox/undo.data 3/pending.data 3/undo.data 3/completed.data 3/backlog.data 3.rc); ok (! -r '1/pending.data' && ! -r '1/completed.data' && ! -r '1/undo.data' && ! -r '1/backlog.data' && - ! -r '1/synch.key' && ! -r '1.rc' && ! -r '2/pending.data' && ! -r '2/completed.data' && ! -r '2/undo.data' && ! -r '2/backlog.data' && - ! -r '2/synch.key' && ! -r '2.rc' && ! -r '3/pending.data' && ! -r '3/completed.data' && ! -r '3/undo.data' && ! -r '3/backlog.data' && - ! -r '3/synch.key' && ! -r '3.rc' && ! -r 'dropbox/pending.data' && ! -r 'dropbox/completed.data' && diff --git a/test/bug.299.t b/test/bug.299.t index c3d7520df..1f142581e 100755 --- a/test/bug.299.t +++ b/test/bug.299.t @@ -52,12 +52,11 @@ unlike ($output, qr/two.*bar/ms, 'project.isnt:one project.isnt:two - no bar'); like ($output, qr/three.*baz/ms, 'project.isnt:one project.isnt:two - yes baz'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.327.t b/test/bug.327.t index 73512d45a..49f1652d4 100755 --- a/test/bug.327.t +++ b/test/bug.327.t @@ -50,12 +50,11 @@ my $output = qx{../src/task rc:bug.rc li 2>&1}; unlike ($output, qr/1969/ms, 'Should not display 12/31/1969'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.360.t b/test/bug.360.t index efe7ccbcf..d17eafb55 100755 --- a/test/bug.360.t +++ b/test/bug.360.t @@ -70,12 +70,11 @@ $output = qx{../src/task rc:bug.rc diag 2>&1}; like ($output, qr/No duplicates found/, 'No duplicate UUIDs detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.368.t b/test/bug.368.t index 3b4a6bce0..db0f0926a 100755 --- a/test/bug.368.t +++ b/test/bug.368.t @@ -49,12 +49,11 @@ unlike ($output, qr/Until\s+\d{10}/, 'until is not shown as an epoch'); like ($output, qr/Until\s+\d+\/\d+\/\d{4}/, 'until is shown as a date'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.414.t b/test/bug.414.t index f44923364..249b07e48 100755 --- a/test/bug.414.t +++ b/test/bug.414.t @@ -57,12 +57,11 @@ $output = qx{../src/task rc:bug.rc ls -föo 2>&1}; unlike ($output, qr/two/, 'not found UTF8 tag föo'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.417.t b/test/bug.417.t index d023ab249..705385cf5 100755 --- a/test/bug.417.t +++ b/test/bug.417.t @@ -51,12 +51,11 @@ $output = qx{../src/task rc:bug.rc rc.report.long.sort:due- long 2>&1}; like ($output, qr/after.+now.+before/ms, 'rc.report.long.sort:due- works'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.418.t b/test/bug.418.t index e61163600..d1d75f257 100755 --- a/test/bug.418.t +++ b/test/bug.418.t @@ -80,12 +80,11 @@ unlike ($output, qr/eight/ms, 'task 8 not listed'); unlike ($output, qr/nine/ms, 'task 9 not listed'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.425.t b/test/bug.425.t index e1482abf7..5d82e8708 100755 --- a/test/bug.425.t +++ b/test/bug.425.t @@ -52,12 +52,11 @@ my $output = qx{../src/task rc:425.rc 1 ls 2>&1}; like ($output, qr/1\s+Bar in Bar/m, 'parser - interpret \'in\' in description'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key 425.rc); +unlink qw(pending.data completed.data undo.data backlog.data 425.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r '425.rc', 'Cleanup'); exit 0; diff --git a/test/bug.434.t b/test/bug.434.t index ac556b598..0e026805f 100755 --- a/test/bug.434.t +++ b/test/bug.434.t @@ -47,12 +47,11 @@ my $output = qx{../src/task rc:bug.rc 1 done 2>&1}; like ($output, qr/Completed 1 task\./, 'Waiting task marked completed'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.438.t b/test/bug.438.t index e6b7dc0b9..7b5df36d2 100755 --- a/test/bug.438.t +++ b/test/bug.438.t @@ -82,12 +82,11 @@ $output = qx{../src/task rc:bug.rc rc.report.foo.sort:end- foo 2>&1}; like ($output, qr/newer.+older/ms, 'sort:end- -> newer older'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.440.t b/test/bug.440.t index 4760c2826..72c4d6919 100755 --- a/test/bug.440.t +++ b/test/bug.440.t @@ -60,12 +60,11 @@ unlike ($output2, qr/Foo/, 'simultaneous append and subst - subst'); like ($output2, qr/\w+ Appendtext/, 'simultaneous append and subst - append'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key 440.rc); +unlink qw(pending.data completed.data undo.data backlog.data 440.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r '440.rc', 'Cleanup'); exit 0; diff --git a/test/bug.441.t b/test/bug.441.t index 0b651290d..6d55c8ae3 100755 --- a/test/bug.441.t +++ b/test/bug.441.t @@ -47,12 +47,11 @@ my $output = qx{../src/task rc:441.rc ls 2>&1}; like ($output, qr/one two: three/ms, 'Substitution with colon worked'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key 441.rc); +unlink qw(pending.data completed.data undo.data backlog.data 441.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r '441.rc', 'Cleanup'); exit 0; diff --git a/test/bug.455.t b/test/bug.455.t index df74e38eb..ea20b1572 100755 --- a/test/bug.455.t +++ b/test/bug.455.t @@ -50,12 +50,11 @@ like ($output, qr/\s{7}abc/ms, 'bug 455 - correct spacing in utf8 task'); like ($output, qr/\s{7}def/ms, 'bug 455 - correct spacing in non utf8 task'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key 455.rc); +unlink qw(pending.data completed.data undo.data backlog.data 455.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r '455.rc', 'Cleanup'); exit 0; diff --git a/test/bug.480.t b/test/bug.480.t index 2f3b9e85e..9a9eb0efe 100755 --- a/test/bug.480.t +++ b/test/bug.480.t @@ -123,12 +123,11 @@ unlike ($output, qr/two/, 'Triple: no @foo.2'); unlike ($output, qr/three/, 'Triple: no @foo.3'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.489.t b/test/bug.489.t index 95a8a86b5..a801dfdf3 100755 --- a/test/bug.489.t +++ b/test/bug.489.t @@ -47,12 +47,11 @@ unlike ($output, qr/with /, 'tags.none: skips tagged'); like ($output, qr/without/, 'tags.none: finds tagless'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.495.t b/test/bug.495.t index 5760819e7..f09bf08dc 100755 --- a/test/bug.495.t +++ b/test/bug.495.t @@ -47,12 +47,11 @@ my $output = qx{../src/task rc:bug.rc list 2>&1}; like ($output, qr/This is -- a -- test/, 'Double hyphens preserved, except the first ones.'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.555.t b/test/bug.555.t index 0f18720eb..c1c441c32 100755 --- a/test/bug.555.t +++ b/test/bug.555.t @@ -44,12 +44,11 @@ my $output = qx{../src/task rc:bug.rc log description project:p 2>&1}; unlike ($output, qr/Segmentation fault/, 'no segfault from log with project'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.580.t b/test/bug.580.t index 8e4fa6112..f895b1d85 100755 --- a/test/bug.580.t +++ b/test/bug.580.t @@ -73,21 +73,19 @@ my $output = qx{../src/task rc:remote.rc ls 2>&1}; like ($output, qr/local task/, "autopush failed"); # Cleanup. -unlink qw(local/pending.data local/completed.data local/undo.data local/undo.save local/backlog.data local/synch.key local.rc); +unlink qw(local/pending.data local/completed.data local/undo.data local/undo.save local/backlog.data local.rc); ok (! -r 'local/pending.data' && ! -r 'local/completed.data' && ! -r 'local/undo.data' && ! -r 'local/undo.save' && ! -r 'local/backlog.data' && - ! -r 'local/synch.key' && ! -r 'local.rc', 'Cleanup'); -unlink qw(remote/pending.data remote/completed.data remote/undo.data remote/backlog.data remote/synch.key remote.rc); +unlink qw(remote/pending.data remote/completed.data remote/undo.data remote/backlog.data remote.rc); ok (! -r 'remote/pending.data' && ! -r 'remote/completed.data' && ! -r 'remote/undo.data' && ! -r 'remote/backlog.data' && - ! -r 'remote/synch.key' && ! -r 'remote.rc', 'Cleanup'); rmdir("remote/extensions"); diff --git a/test/bug.605.t b/test/bug.605.t index 725608e6d..0b427d075 100755 --- a/test/bug.605.t +++ b/test/bug.605.t @@ -54,12 +54,11 @@ $output = qx{../src/task rc:bug.rc 2 done 2>&1 >/dev/null}; like ($output, qr/is 100\% complete/ms, 'Empty project correctly reported as being 100% completed.'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.628.t b/test/bug.628.t index 4fe489285..d3ff20f94 100755 --- a/test/bug.628.t +++ b/test/bug.628.t @@ -50,12 +50,11 @@ my $output = qx{../src/task rc:bug.rc waiting 2>&1}; like ($output, qr/1\/1\/2020/ms, 'a b D Y dateformat correctly parsed.'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.634.t b/test/bug.634.t index ecef4d78c..975a4f982 100755 --- a/test/bug.634.t +++ b/test/bug.634.t @@ -49,12 +49,11 @@ my $output = qx{echo 'n' |../src/task rc:bug.rc rc.confirmation=off undo 2>&1}; unlike ($output, qr/Are you sure/ms, 'Undo honours confirmation=off.'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.635.t b/test/bug.635.t index c00b2eef8..86d17310b 100755 --- a/test/bug.635.t +++ b/test/bug.635.t @@ -52,12 +52,11 @@ my $output = qx{../src/task rc:bug.rc ls 1 2>&1}; like ($output, qr/Pay the rent on the 31st/ms, 'Global replace performed correctly.'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.649.t b/test/bug.649.t index 8b9ff7def..bf4f4f3d3 100755 --- a/test/bug.649.t +++ b/test/bug.649.t @@ -51,12 +51,11 @@ like ($output, qr/is neither pending nor waiting/, 'Parent task not completabl unlike ($output, qr/Completed 1/ms, 'New recurring task cannot be immediately completed.'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.656.t b/test/bug.656.t index 05eb6b7c5..64b9817d1 100755 --- a/test/bug.656.t +++ b/test/bug.656.t @@ -56,12 +56,11 @@ my $output = qx{../src/task rc:bug.rc ls 2>&1}; unlike ($output, qr/^\s3\s*Second recurring task\s*$/ms, 'Extra task detected.'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.668.t b/test/bug.668.t index b2ee1d6cc..8b3e5a721 100755 --- a/test/bug.668.t +++ b/test/bug.668.t @@ -49,12 +49,11 @@ unlike ($output, qr/not a valid modifier/, 'standard syntax with dots'); unlike ($output, qr/not in the expected format/, 'standard syntax with dots'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.674.t b/test/bug.674.t index 5481d291c..afea46939 100755 --- a/test/bug.674.t +++ b/test/bug.674.t @@ -53,12 +53,11 @@ my $output = qx{../src/task rc:bug.rc 2 done 2>&1}; like ($output, qr/Two/ms, 'IDs correctly remain unchanged after done'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.694.t b/test/bug.694.t index 93784bc1f..f86bf95cc 100755 --- a/test/bug.694.t +++ b/test/bug.694.t @@ -51,12 +51,11 @@ like ($output, qr/foo/, 'found foo'); like ($output, qr/Due/, 'found Due'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.697.x b/test/bug.697.x index 77e277fea..e56ef2542 100755 --- a/test/bug.697.x +++ b/test/bug.697.x @@ -70,12 +70,11 @@ $output = qx{../src/task rc:bug.rc 3 info 2>&1}; like ($output, qr/is blocked by\s+2/, 'verified 1 --> 2'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.703.t b/test/bug.703.t index ef719d5e5..ae4209f60 100755 --- a/test/bug.703.t +++ b/test/bug.703.t @@ -61,12 +61,11 @@ like ($output, qr/AnnotatIon two/, 'new annotation two'); like ($output, qr/AnnotatIon three/, 'new annotation three'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.708.t b/test/bug.708.t index 2cf2b114e..f146d7190 100755 --- a/test/bug.708.t +++ b/test/bug.708.t @@ -68,12 +68,11 @@ $output = qx{../src/task rc:bug.rc 7-9 del 2>&1 >/dev/null}; like ($output, qr/Project 'p1' is 75% complete \(1 of 4 tasks remaining\)\./ms, 'Project counts correct for a multiple delete'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.804.t b/test/bug.804.t index f5f1b0e62..16aa89d24 100755 --- a/test/bug.804.t +++ b/test/bug.804.t @@ -57,12 +57,11 @@ like ($output, qr/vwxy\n/ms, 'not hyphenated 1'); like ($output, qr/uvwx\n/ms, 'not hyphenated 2'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.818.t b/test/bug.818.t index ed6f375f6..135c3a07a 100755 --- a/test/bug.818.t +++ b/test/bug.818.t @@ -67,12 +67,11 @@ unlike ($output, qr/AAA/, '+anna !-> AAA'); like ($output, qr/BBB/, '+anna --> BBB'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.819.t b/test/bug.819.t index 03ae18fbb..57760297c 100755 --- a/test/bug.819.t +++ b/test/bug.819.t @@ -51,12 +51,11 @@ pass ("foo \(bar\) -- preserved -- TEST SKIPPED --"); like ($output, qr/baz \(qux\)/, "baz \(qux\) -- preserved"); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.835.t b/test/bug.835.t index b1b9d3a26..d8147d841 100755 --- a/test/bug.835.t +++ b/test/bug.835.t @@ -47,12 +47,11 @@ like ($output, qr/main\.subproject/, "Parens tolerated"); unlike ($output, qr/Mismatched parentheses in expression/, "No 'mismatch' error generated"); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.837.t b/test/bug.837.t index 642f5618b..3ee3523ae 100755 --- a/test/bug.837.t +++ b/test/bug.837.t @@ -57,12 +57,11 @@ $output = qx{../src/task rc:bug.rc 1 _urgency 2>&1}; like ($output, qr/ 0\n/, 'unblocked urgency == 0'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.839.t b/test/bug.839.t index 53479e4a9..66486d530 100755 --- a/test/bug.839.t +++ b/test/bug.839.t @@ -50,12 +50,11 @@ like ($output, qr/One/, 'task listed'); unlike ($output, qr/The recurrence value '1m' is not valid\./, 'recu:1m => no error'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.851.t b/test/bug.851.t index 05fe1b85d..8f6ce059b 100755 --- a/test/bug.851.t +++ b/test/bug.851.t @@ -54,12 +54,11 @@ unlike ($output, qr/yesterday/, "yesterday - not found after:1d"); like ($output, qr/tomorrow/, "tomorrow - found after:1d"); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.856.t b/test/bug.856.t index 1c6564580..48cbdeb60 100755 --- a/test/bug.856.t +++ b/test/bug.856.t @@ -57,12 +57,11 @@ like ($output, qr/floating/, 'project.none: matches floating'); unlike ($output, qr/assigned/, 'project.none: does not match assigned'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.860.t b/test/bug.860.t index 5b3bfb54a..a8d776c33 100755 --- a/test/bug.860.t +++ b/test/bug.860.t @@ -44,12 +44,11 @@ my $output = qx{../src/task rc:bug.rc 1 info 2>&1}; like ($output, qr/Priority\s+H/, "pri:h --> pri:H"); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.879.t b/test/bug.879.t index ceddcae7b..5ad0027fa 100755 --- a/test/bug.879.t +++ b/test/bug.879.t @@ -55,12 +55,11 @@ like ($output, qr/foo\\/, 'Backslash preserved in annotation 1'); like ($output, qr/bar\\/, 'Backslash preserved in annotation 2'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.884.t b/test/bug.884.t index 13fdc4a72..963231027 100755 --- a/test/bug.884.t +++ b/test/bug.884.t @@ -49,12 +49,11 @@ pass ("/one/two/three/ --> preserved -- TEST SKIPPED --"); like ($output, qr/\/four\/five\/six\//, "/four/five/six/ --> preserved"); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.886.t b/test/bug.886.t index e34b5a21a..60eba2f36 100755 --- a/test/bug.886.t +++ b/test/bug.886.t @@ -46,12 +46,11 @@ $output = qx{../src/task rc:bug.rc add two due:donkey 2>&1 >/dev/null}; like ($output, qr/was not recognized/, 'donkey --> invalid date'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.899.t b/test/bug.899.t index bcd7f42c7..c2a4960aa 100755 --- a/test/bug.899.t +++ b/test/bug.899.t @@ -53,12 +53,11 @@ $output = qx{../src/task rc:bug.rc log three pro:A 2>&1 >/dev/null}; like ($output, qr/ 66% complete \(1 of 3 /, '1 of 3 tasks remaining - 66%'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.906.t b/test/bug.906.t index 69a8d18be..2334c8ae1 100755 --- a/test/bug.906.t +++ b/test/bug.906.t @@ -69,12 +69,11 @@ unlike ($output, qr/one/, 'list - one excluded'); like ($output, qr/two/, 'list - two included'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.917.t b/test/bug.917.t index 10295ba10..b7da33c00 100755 --- a/test/bug.917.t +++ b/test/bug.917.t @@ -52,12 +52,11 @@ like ($output, qr/one 'two' three/, 'Single quote preserved after modification') like ($output, qr/four "five" six/, 'Double quote preserved after modification'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.924.t b/test/bug.924.t index 682bae32c..21ecde744 100755 --- a/test/bug.924.t +++ b/test/bug.924.t @@ -48,12 +48,11 @@ like ($output, qr/\s2.0\n/ms, 'Single quote floating point preserved'); like ($output, qr/\s3.0\n/ms, 'Double quote floating point preserved'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.932.t b/test/bug.932.t index f9852cd5e..6b1d4217b 100755 --- a/test/bug.932.t +++ b/test/bug.932.t @@ -65,12 +65,11 @@ $output = qx{../src/task rc:bug.rc diag 2>&1}; like ($output, qr/No duplicates found/, 'No duplicate UUIDs detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.954.t b/test/bug.954.t index 44c038449..9fe65bbcb 100755 --- a/test/bug.954.t +++ b/test/bug.954.t @@ -56,12 +56,11 @@ like ($output, qr/foo/ms, 'Task foo not deleted'); like ($output, qr/bar/ms, 'Task bar not deleted'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.955.t b/test/bug.955.t index c80e512b6..e57ed8261 100755 --- a/test/bug.955.t +++ b/test/bug.955.t @@ -54,12 +54,11 @@ $output = qx{../src/task rc:bug.rc ls 2>&1}; like ($output, qr/^No matches/ms, 'No tasks remaining'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.956.t b/test/bug.956.t index ae997c54e..fe7a063e5 100755 --- a/test/bug.956.t +++ b/test/bug.956.t @@ -64,12 +64,11 @@ $output = qx{TASKRC=bug.rc ../src/task _ids 2>/dev/null}; unlike ($output, qr/TASKRC/ms, 'The header does not appear with "_ids" (2>/dev/null)'); ### Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.972.t b/test/bug.972.t index b7ab9f6d6..7328ccc5b 100755 --- a/test/bug.972.t +++ b/test/bug.972.t @@ -45,12 +45,11 @@ my $output = qx{../src/task rc:bug.rc add foo due:now recur:2 2>&1}; like ($output, qr/ not recognized as valid, /, 'recur:2 is not valid'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.982.x b/test/bug.982.x index b02672b67..0ccbcfe74 100755 --- a/test/bug.982.x +++ b/test/bug.982.x @@ -45,12 +45,11 @@ my $output = qx{../src/task rc:minus.rc 1 info 2>&1}; like ($output, qr/^Description 1-test 1\+tag$/ms, 'Description contains plus and minus signs'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key minus.rc); +unlink qw(pending.data completed.data undo.data backlog.data minus.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'minus.rc', 'Cleanup'); exit 0; diff --git a/test/bug.986.t b/test/bug.986.t index e13ff6b6c..0e5e2617e 100755 --- a/test/bug.986.t +++ b/test/bug.986.t @@ -58,12 +58,11 @@ $output = qx{../src/task rc:bug.rc test info rc.dateformat:__ rc.dateformat.info like ($output, qr/__/ms, 'Date formatted according to dateformat'); ### Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.987.x b/test/bug.987.x index 4def2a021..430b86e8b 100755 --- a/test/bug.987.x +++ b/test/bug.987.x @@ -90,12 +90,11 @@ qx{../src/task rc:bug.rc test_dsn start}; check_running_close_zero("test_dsn"); ### Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.990.t b/test/bug.990.t index e526e1cce..e4f0d9c0d 100755 --- a/test/bug.990.t +++ b/test/bug.990.t @@ -49,12 +49,11 @@ my $output = qx{../src/task rc:color.rc list 2>&1}; like ($output, qr/ \033\[32m .* test .* \033\[0m /x, 'Colored with the priority color, which has precedence over the tagged color'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/bug.991.t b/test/bug.991.t index 35f16d266..17a5961d4 100755 --- a/test/bug.991.t +++ b/test/bug.991.t @@ -50,12 +50,11 @@ unlike ($output, qr/deprecated/ms, 'No deprecated variable'); unlike ($output, qr/unrecognized/ms, 'No unrecognized variable'); ## Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.annotate.t b/test/bug.annotate.t index 89c4491c9..dda102057 100755 --- a/test/bug.annotate.t +++ b/test/bug.annotate.t @@ -51,12 +51,11 @@ $output = qx{echo "y" | ../src/task rc:bug.rc annotate bar 2>&1 >/dev/null}; unlike ($output, qr/Command prevented from running/, 'Filter-less write command permitted'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.annual.t b/test/bug.annual.t index d57c16cb1..0cc8191ce 100755 --- a/test/bug.annual.t +++ b/test/bug.annual.t @@ -72,12 +72,11 @@ $output = qx{../src/task rc:annual.rc diag 2>&1}; like ($output, qr/No duplicates found/, 'No duplicate UUIDs detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key annual.rc); +unlink qw(pending.data completed.data undo.data backlog.data annual.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'annual.rc', 'Cleanup'); exit 0; diff --git a/test/bug.before.t b/test/bug.before.t index a31aeebc6..cd7e3046b 100755 --- a/test/bug.before.t +++ b/test/bug.before.t @@ -82,12 +82,11 @@ unlike ($output, qr/foo/, 'no foo after 5/1/2009'); unlike ($output, qr/bar/, 'no bar after 5/1/2009'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key before.rc); +unlink qw(pending.data completed.data undo.data backlog.data before.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'before.rc', 'Cleanup'); exit 0; diff --git a/test/bug.bulk.t b/test/bug.bulk.t index e57a5db86..3a35e247d 100755 --- a/test/bug.bulk.t +++ b/test/bug.bulk.t @@ -70,12 +70,11 @@ like ($output, qr/Project\s+p1/, 'project applied to 6'); like ($output, qr/Priority\s+M/, 'priority applied to 6'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bulk.rc); +unlink qw(pending.data completed.data undo.data backlog.data bulk.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bulk.rc', 'Cleanup'); exit 0; diff --git a/test/bug.c001.t b/test/bug.c001.t index 0fc7f6121..d0db6d303 100755 --- a/test/bug.c001.t +++ b/test/bug.c001.t @@ -52,12 +52,11 @@ my $output = qx{../src/task rc:bug.rc add Second recurring task due:tomorrow rec like ($output, qr/Created task 2\./ms, 'Recurring task assigned correct ID.'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.cal.t b/test/bug.cal.t index e7b9aee26..420656598 100755 --- a/test/bug.cal.t +++ b/test/bug.cal.t @@ -104,12 +104,11 @@ $output = qx{../src/task rc:cal.rc cal due 2010 donkey 2>&1}; unlike ($output, qr/(?:Assertion failed|Could note recognize|not a valid)/, 'cal due 2010 donkey'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key cal.rc); +unlink qw(pending.data completed.data undo.data backlog.data cal.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'cal.rc', 'Cleanup'); exit 0; diff --git a/test/bug.concat.t b/test/bug.concat.t index 1c8188eb2..46432d798 100755 --- a/test/bug.concat.t +++ b/test/bug.concat.t @@ -68,12 +68,11 @@ $output = qx{../src/task rc:bug.rc info 2 2>&1}; like ($output, qr/Description\s+aaa bbb:ccc ddd\n/, 'properly concatenated'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/bug.hang.t b/test/bug.hang.t index 7bac20b8e..89501137d 100755 --- a/test/bug.hang.t +++ b/test/bug.hang.t @@ -70,13 +70,12 @@ if ($@ eq "alarm\n") } # Cleanup. -unlink qw(shadow.txt pending.data completed.data undo.data backlog.data synch.key hang.rc); +unlink qw(shadow.txt pending.data completed.data undo.data backlog.data hang.rc); ok (! -r 'shadow.txt' && ! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'hang.rc', 'Cleanup'); exit 0; diff --git a/test/bug.hasnt.t b/test/bug.hasnt.t index 7cb07537f..e8b1fd53c 100755 --- a/test/bug.hasnt.t +++ b/test/bug.hasnt.t @@ -87,12 +87,11 @@ unlike ($output, qr/\n 6/, '6 hasnt foo -> no'); like ($output, qr/\n 7/, '7 hasnt foo -> yes'); # 15 # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key hasnt.rc); +unlink qw(pending.data completed.data undo.data backlog.data hasnt.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'hasnt.rc', 'Cleanup'); exit 0; diff --git a/test/bug.period.t b/test/bug.period.t index a4d1fd279..f8b3daf85 100755 --- a/test/bug.period.t +++ b/test/bug.period.t @@ -157,12 +157,11 @@ $output = qx{../src/task rc:period.rc diag 2>&1}; like ($output, qr/No duplicates found/, 'No duplicate UUIDs detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key period.rc); +unlink qw(pending.data completed.data undo.data backlog.data period.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'period.rc', 'Cleanup'); exit 0; diff --git a/test/bug.range.t b/test/bug.range.t index 175a54422..6fda24427 100755 --- a/test/bug.range.t +++ b/test/bug.range.t @@ -49,12 +49,11 @@ like ($output, qr/two/, 'Found within range'); unlike ($output, qr/three/, 'Missing after range'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key range.rc); +unlink qw(pending.data completed.data undo.data backlog.data range.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'range.rc', 'Cleanup'); exit 0; diff --git a/test/bug.recur.t b/test/bug.recur.t index c083871db..9ff569092 100755 --- a/test/bug.recur.t +++ b/test/bug.recur.t @@ -45,12 +45,11 @@ my $output = qx{../src/task rc:recur.rc info 1 2>&1}; unlike ($output, qr/Description\s+foo/, 'task not created - missing due date'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key recur.rc); +unlink qw(pending.data completed.data undo.data backlog.data recur.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'recur.rc', 'Cleanup'); exit 0; diff --git a/test/bug.sort.t b/test/bug.sort.t index 9c6f9389e..020be8853 100755 --- a/test/bug.sort.t +++ b/test/bug.sort.t @@ -51,12 +51,11 @@ $output = qx{../src/task rc:bug_sort.rc list 2>&1}; like ($output, qr/three.*one.*two/msi, 'list did not hang after pri:H on 1'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug_sort.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug_sort.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug_sort.rc', 'Cleanup'); exit 0; diff --git a/test/bug.start.extra.t b/test/bug.start.extra.t index 833655990..a470a401c 100755 --- a/test/bug.start.extra.t +++ b/test/bug.start.extra.t @@ -49,12 +49,11 @@ like ($output, qr/L/, 'Correct priority'); like ($output, qr/bar/, 'Correct annotation'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key extra.rc); +unlink qw(pending.data completed.data undo.data backlog.data extra.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'extra.rc', 'Cleanup'); exit 0; diff --git a/test/bug.summary.t b/test/bug.summary.t index dd5be6fec..e5ae3206a 100755 --- a/test/bug.summary.t +++ b/test/bug.summary.t @@ -54,12 +54,11 @@ $output = qx{../src/task rc:summary.rc summary 2>&1}; like ($output, qr/A\s+1\s+(?:-|\d\ssecs?)\s+50%/, 'summary correctly shows 50% after report'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key summary.rc); +unlink qw(pending.data completed.data undo.data backlog.data summary.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'summary.rc', 'Cleanup'); exit 0; diff --git a/test/bug.uuid.t b/test/bug.uuid.t index ec3ea2f1a..eb48442c0 100755 --- a/test/bug.uuid.t +++ b/test/bug.uuid.t @@ -85,12 +85,11 @@ $output = qx{../src/task rc:uuid.rc diag 2>&1}; like ($output, qr/No duplicates found/, 'No duplicate UUIDs detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key uuid.rc); +unlink qw(pending.data completed.data undo.data backlog.data uuid.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'uuid.rc', 'Cleanup'); exit 0; diff --git a/test/bulk.t b/test/bulk.t index 13786a91e..7fcc751e3 100755 --- a/test/bulk.t +++ b/test/bulk.t @@ -140,12 +140,11 @@ like ($output, qr/Deleted 0 tasks./, 'No task deleted'); unlike ($output, qr/delete task 17/, 'No question asked for subsequent tasks'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bulk.rc); +unlink qw(pending.data completed.data undo.data backlog.data bulk.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bulk.rc', 'Cleanup'); exit 0; diff --git a/test/cal.t b/test/cal.t index c73ddb613..70c912b03 100755 --- a/test/cal.t +++ b/test/cal.t @@ -259,12 +259,11 @@ like ($output, qr/30;103m15/, 'Holiday BBBBBB is color-coded'); like ($output, qr/30;103m25/, 'Holiday åäö is color-coded'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key details.rc); +unlink qw(pending.data completed.data undo.data backlog.data details.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'details.rc', 'Cleanup'); exit 0; diff --git a/test/caseless.t b/test/caseless.t index 7f2790263..c0813aa93 100755 --- a/test/caseless.t +++ b/test/caseless.t @@ -119,12 +119,11 @@ $output = qx{../src/task rc:caseless.rc rc.search.case.sensitive:no ls descripti like ($output, qr/four five six/, 'one two three\nfour five six -> ls description.contains:Six caseless = succeed'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key caseless.rc); +unlink qw(pending.data completed.data undo.data backlog.data caseless.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'caseless.rc', 'Cleanup'); exit 0; diff --git a/test/color.active.t b/test/color.active.t index 46872656c..af3b16746 100755 --- a/test/color.active.t +++ b/test/color.active.t @@ -50,12 +50,11 @@ like ($output, qr/ (?!<\033\[\d\dm) .* nothing .* (?!>\033\[0m) /x, 'none'); like ($output, qr/ \033\[31m .* red .* \033\[0m /x, 'color.active'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.blocked.t b/test/color.blocked.t index 21dcc5c87..b7b495240 100755 --- a/test/color.blocked.t +++ b/test/color.blocked.t @@ -51,12 +51,11 @@ like ($output, qr/ (?!<\033\[\d\dm) .* nothing .* (?!>\033\[0m) /x, 'none'); like ($output, qr/ \033\[31m .* red .* \033\[0m /x, 'color.blocked'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.deprecated.t b/test/color.deprecated.t index 99b936d41..3de687757 100755 --- a/test/color.deprecated.t +++ b/test/color.deprecated.t @@ -45,12 +45,11 @@ my $output = qx{../src/task rc:color.rc show 2>&1}; like ($output, qr/that use deprecated underscores/ms, 'Deprecated color detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.disable.t b/test/color.disable.t index 49442b58e..36f402f09 100755 --- a/test/color.disable.t +++ b/test/color.disable.t @@ -49,12 +49,11 @@ unlike ($output, qr/\033\[31m/, 'color.disable - no color red'); unlike ($output, qr/\033\[0m/, 'color.disable - no color reset'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.due.t b/test/color.due.t index 526fdd887..3fb83a4e2 100755 --- a/test/color.due.t +++ b/test/color.due.t @@ -49,12 +49,11 @@ like ($output, qr/ (?!<\033\[\d\dm) \d{1,2}\/\d{1,2}\/\d{4} (?!>\033\[0m) .* not like ($output, qr/ \033\[31m .* red .* \033\[0m/x, 'color.due'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.duetoday.t b/test/color.duetoday.t index 0da9ef59b..e74222c48 100755 --- a/test/color.duetoday.t +++ b/test/color.duetoday.t @@ -49,12 +49,11 @@ like ($output, qr/ (?!<\033\[\d\dm) \d{1,2}\/\d{1,2}\/\d{4} (?!>\033\[0m) .* not like ($output, qr/ (?:\033\[31m|\033\[38;5;9m) .* red .* \033\[0m/x, 'color.due.today'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.err.t b/test/color.err.t index c4899178f..5db5759bc 100755 --- a/test/color.err.t +++ b/test/color.err.t @@ -51,12 +51,11 @@ like ($output, qr/^\033\[34mUsing\ alternate\ .taskrc\ file\ color.rc\033\[0m$/x like ($output, qr/^\033\[31mConfiguration\ override\ rc.debug:on\033\[0m$/xms, 'color.footnote'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.keyword.t b/test/color.keyword.t index d8a31ae52..bbafb35b0 100755 --- a/test/color.keyword.t +++ b/test/color.keyword.t @@ -59,12 +59,11 @@ like ($output, qr/ \033\[32m .* green .* \033\[0m /x, 'color.ke like ($output, qr/ \033\[33m .* annotation .* \033\[0m /x, 'color.keyword.yellow (annotation)'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.overdue.t b/test/color.overdue.t index 1060177ad..3ddd8297c 100755 --- a/test/color.overdue.t +++ b/test/color.overdue.t @@ -49,12 +49,11 @@ like ($output, qr/ (?!<\033\[\d\dm) \d{1,2}\/\d{1,2}\/\d{4} (?!>\033\[0m) .* not like ($output, qr/ \033\[31m .* red .* \033\[0m/x, 'color.overdue'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.pri.t b/test/color.pri.t index 9e42c19d4..487adfd01 100755 --- a/test/color.pri.t +++ b/test/color.pri.t @@ -57,12 +57,11 @@ like ($output, qr/ \033\[34m .* blue .* \033\[0m /x, 'color.pri.L'); like ($output, qr/ \033\[33m .* yellow .* \033\[0m /x, 'color.pri.none'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.project.t b/test/color.project.t index e50fc6e13..87f90f166 100755 --- a/test/color.project.t +++ b/test/color.project.t @@ -51,12 +51,11 @@ like ($output, qr/ \033\[32m .* nothing .* \033\[0m /x, 'color.project.no like ($output, qr/ \033\[31m .* red .* \033\[0m /x, 'color.project.red'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.recurring.t b/test/color.recurring.t index d848d56d2..446a499b9 100755 --- a/test/color.recurring.t +++ b/test/color.recurring.t @@ -50,12 +50,11 @@ like ($output, qr/ (?!<\033\[\d\dm) .* nothing .* (?!>\033\[0m) /x, 'none'); like ($output, qr/ \033\[31m .* red .* \033\[0m /x, 'color.recurring'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.tag.t b/test/color.tag.t index e3f57d205..6d5e1028b 100755 --- a/test/color.tag.t +++ b/test/color.tag.t @@ -55,12 +55,11 @@ like ($output, qr/ \033\[31m .* red .* \033\[0m /x, 'color.tag.red'); like ($output, qr/ \033\[32m .* green .* \033\[0m /x, 'color.tag.green'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/color.tagged.t b/test/color.tagged.t index 617ec4c24..6c4ac5bd3 100755 --- a/test/color.tagged.t +++ b/test/color.tagged.t @@ -53,12 +53,11 @@ like ($output, qr/ (?!<\033\[\d\dm) .* nothing .* (?!>\033\[0m) /x, 'none'); like ($output, qr/ \033\[31m .* red .* \033\[0m /x, 'color.tagged'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key color.rc); +unlink qw(pending.data completed.data undo.data backlog.data color.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'color.rc', 'Cleanup'); exit 0; diff --git a/test/completed.t b/test/completed.t index ad1089d7b..931089e29 100755 --- a/test/completed.t +++ b/test/completed.t @@ -51,12 +51,11 @@ like ($output, qr/one/, 'one -> completed'); unlike ($output, qr/two/, 'two -> deleted'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key completed.rc); +unlink qw(pending.data completed.data undo.data backlog.data completed.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'completed.rc', 'Cleanup'); exit 0; diff --git a/test/config.obsolete.t b/test/config.obsolete.t index 996dec811..744e6e39f 100755 --- a/test/config.obsolete.t +++ b/test/config.obsolete.t @@ -47,12 +47,11 @@ like ($output, qr/Your .taskrc file contains these unrecognized variables:\n/, like ($output, qr/ foo\n/, 'unsupported configuration variable'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key obsolete.rc); +unlink qw(pending.data completed.data undo.data backlog.data obsolete.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'obsolete.rc', 'Cleanup'); exit 0; diff --git a/test/confirmation.t b/test/confirmation.t index c17503840..7f89591d6 100755 --- a/test/confirmation.t +++ b/test/confirmation.t @@ -96,12 +96,11 @@ $output = qx{cat response.txt | ../src/task rc:confirm.rc 7 del 2>&1}; like ($output, qr/(Permanently delete task 7 'foo'\? \(yes\/no\)) \1 \1/, 'confirmation - \n re-prompt works'); # 43 # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key confirm.rc response.txt); +unlink qw(pending.data completed.data undo.data backlog.data confirm.rc response.txt); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'confirm.rc' && ! -r 'response.txt', 'Cleanup'); diff --git a/test/count.t b/test/count.t index a2f4bc312..375f852dc 100755 --- a/test/count.t +++ b/test/count.t @@ -68,12 +68,11 @@ $output = qx{../src/task rc:count.rc count due.any: 2>&1}; like ($output, qr/^1\n/ms, 'count due.any:'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key count.rc); +unlink qw(pending.data completed.data undo.data backlog.data count.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'count.rc', 'Cleanup'); exit 0; diff --git a/test/countdown.t b/test/countdown.t index 71b819a7e..313046326 100755 --- a/test/countdown.t +++ b/test/countdown.t @@ -175,12 +175,11 @@ like ($output, qr/\bthree\b.+\btwo/ms, 'downc: three < two'); like ($output, qr/\btwo\b.+\bone\b/ms, 'downc: two < one'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key countdown.rc); +unlink qw(pending.data completed.data undo.data backlog.data countdown.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'countdown.rc', 'Cleanup'); exit 0; diff --git a/test/custom.columns.t b/test/custom.columns.t index 087b99ce8..a13316662 100755 --- a/test/custom.columns.t +++ b/test/custom.columns.t @@ -47,12 +47,11 @@ my $output = qx{../src/task rc:custom.rc foo 2>&1 >/dev/null}; like ($output, qr/Unrecognized column name 'foo'\.\n/, 'custom report spotted invalid column'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key custom.rc); +unlink qw(pending.data completed.data undo.data backlog.data custom.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'custom.rc', 'Cleanup'); exit 0; diff --git a/test/custom.priority_long.t b/test/custom.priority_long.t index e6c7160d8..559c3d815 100755 --- a/test/custom.priority_long.t +++ b/test/custom.priority_long.t @@ -54,12 +54,11 @@ like ($output, qr/2\s+Medium/, 'priority.long Medium'); like ($output, qr/3\s+Low/, 'priority.long Low'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key pri.rc); +unlink qw(pending.data completed.data undo.data backlog.data pri.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'pri.rc', 'Cleanup'); exit 0; diff --git a/test/custom.recur_ind.t b/test/custom.recur_ind.t index f4ba61d49..3f3a45ca5 100755 --- a/test/custom.recur_ind.t +++ b/test/custom.recur_ind.t @@ -55,12 +55,11 @@ like ($output, qr/3\s+RE/, 'Custom recurrence indicator t1'); unlike ($output, qr/2\s+RE/, 'No custom recurrence indicator t2'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key custom.rc); +unlink qw(pending.data completed.data undo.data backlog.data custom.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'custom.rc', 'Cleanup'); exit 0; diff --git a/test/custom.t b/test/custom.t index 7a236d608..349cf4e3b 100755 --- a/test/custom.t +++ b/test/custom.t @@ -53,12 +53,11 @@ like ($output, qr/one/, 'custom filter included'); unlike ($output, qr/two/, 'custom filter excluded'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key custom.rc); +unlink qw(pending.data completed.data undo.data backlog.data custom.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'custom.rc', 'Cleanup'); exit 0; diff --git a/test/custom.tag_ind.t b/test/custom.tag_ind.t index c47236dc8..f26449f82 100755 --- a/test/custom.tag_ind.t +++ b/test/custom.tag_ind.t @@ -55,12 +55,11 @@ like ($output, qr/1\s+TAG/, 'Custom ag indicator t1'); unlike ($output, qr/2\s+TAG/, 'No custom tag indicator t2'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key custom.rc); +unlink qw(pending.data completed.data undo.data backlog.data custom.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'custom.rc', 'Cleanup'); exit 0; diff --git a/test/date.iso.t b/test/date.iso.t index 4e3d441ea..d1eca0234 100755 --- a/test/date.iso.t +++ b/test/date.iso.t @@ -50,12 +50,11 @@ $output = qx{../src/task rc:iso.rc 2 info 2>&1}; like ($output, qr/Due\s+2\/13\/2009/, 'Epoch format recognized.'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key iso.rc); +unlink qw(pending.data completed.data undo.data backlog.data iso.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'iso.rc', 'Cleanup'); exit 0; diff --git a/test/dateformat.t b/test/dateformat.t index 79908ef64..90a97a80c 100755 --- a/test/dateformat.t +++ b/test/dateformat.t @@ -84,12 +84,11 @@ $output = qx{../src/task rc:date3.rc rc.dateformat.report:"D b Y - a" list 2>&1} like ($output, qr/08 Apr 2010 - Thu/, 'date format D b Y - a parsed'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key date1.rc date2.rc date3.rc); +unlink qw(pending.data completed.data undo.data backlog.data date1.rc date2.rc date3.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'date1.rc' && ! -r 'date2.rc' && ! -r 'date3.rc', 'Cleanup'); diff --git a/test/datesort.t b/test/datesort.t index 27d393724..0d52fff1c 100755 --- a/test/datesort.t +++ b/test/datesort.t @@ -57,12 +57,11 @@ $output = qx{../src/task rc:datesort.rc rc.report.small_list.sort=due- small_lis like ($output, qr/three.+two.+one/ms, 'Sorting by due- with format MD works'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key datesort.rc); +unlink qw(pending.data completed.data undo.data backlog.data datesort.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'datesort.rc', 'Cleanup'); exit 0; diff --git a/test/default.t b/test/default.t index 2bca14606..cebe9e83e 100755 --- a/test/default.t +++ b/test/default.t @@ -84,12 +84,11 @@ like ($output, qr/ M /, 'priority:M included in default command'); unlike ($output, qr/ L /, 'priority:L excluded from default command'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key default.rc); +unlink qw(pending.data completed.data undo.data backlog.data default.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'default.rc', 'Cleanup'); exit 0; diff --git a/test/delete.t b/test/delete.t index 3962a7c99..a11564cd9 100755 --- a/test/delete.t +++ b/test/delete.t @@ -81,12 +81,11 @@ $output = qx{../src/task rc:delete.rc $uuid info 2>&1}; like ($output, qr/Deleted/, 'task added, completed, then deleted'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key delete.rc); +unlink qw(pending.data completed.data undo.data backlog.data delete.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'delete.rc', 'Cleanup'); exit 0; diff --git a/test/denotate.t b/test/denotate.t index 4a6d79fa9..9b44d822a 100755 --- a/test/denotate.t +++ b/test/denotate.t @@ -100,12 +100,11 @@ like ($output, qr/Bert.+\d{1,2}\/\d{1,2}\/\d{4} Kermit the frog/ms, 'Delet unlike ($output, qr/frog.+\d{1,2}\/\d{1,2}\/\d{4} Kermit and Miss Piggy/ms, 'Delete partial match - Kermit and Miss Piggy'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key denotate.rc); +unlink qw(pending.data completed.data undo.data backlog.data denotate.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'denotate.rc', 'Cleanup'); exit 0; diff --git a/test/dependencies.t b/test/dependencies.t index 94373f767..a2ae5d87b 100755 --- a/test/dependencies.t +++ b/test/dependencies.t @@ -257,12 +257,11 @@ unlike ($output, qr/test5/ms, 'Dependency not appearing for task5'); # TODO - test depend.any and depend.none report filters # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key dep.rc); +unlink qw(pending.data completed.data undo.data backlog.data dep.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'dep.rc', 'Cleanup'); exit 0; diff --git a/test/dom.2.t b/test/dom.2.t index 445c66aa6..32780edc3 100755 --- a/test/dom.2.t +++ b/test/dom.2.t @@ -52,12 +52,11 @@ $output = qx{../src/task rc:dom.rc 3 info 2>&1}; like ($output, qr/Waiting until\s+20110901/, 'Found wait date duplicated from due date'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key dom.rc); +unlink qw(pending.data completed.data undo.data backlog.data dom.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'dom.rc', 'Cleanup'); exit 0; diff --git a/test/due.t b/test/due.t index 522468567..244374cbd 100755 --- a/test/due.t +++ b/test/due.t @@ -65,12 +65,11 @@ $output = qx{../src/task rc:due.rc list due.is:today 2>&1}; like ($output, qr/three/, 'due.is:today works as a filter'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key due.rc); +unlink qw(pending.data completed.data undo.data backlog.data due.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'due.rc', 'Cleanup'); exit 0; diff --git a/test/duplicate.t b/test/duplicate.t index a6c281067..fa22b8297 100755 --- a/test/duplicate.t +++ b/test/duplicate.t @@ -61,12 +61,11 @@ like ($output, qr/Duplicated\stask\s1\s'foo'/, 'duplicate output task id and des like ($output, qr/Created\s+task\s+4/, 'duplicate output of new task id'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key dup.rc); +unlink qw(pending.data completed.data undo.data backlog.data dup.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'dup.rc', 'Cleanup'); exit 0; diff --git a/test/duplicate2.t b/test/duplicate2.t index d805208af..18ddc514a 100755 --- a/test/duplicate2.t +++ b/test/duplicate2.t @@ -72,12 +72,11 @@ like ($output, qr/Status\s+Pending/, 'Found duplicated child task'); like ($output, qr/Parent/, 'Found duplicated child task - with parent'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key dup.rc); +unlink qw(pending.data completed.data undo.data backlog.data dup.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'dup.rc', 'Cleanup'); exit 0; diff --git a/test/enpassant.t b/test/enpassant.t index a665ea6f8..8387bfccd 100755 --- a/test/enpassant.t +++ b/test/enpassant.t @@ -54,12 +54,11 @@ like ($output, qr/Priority\s+H/, 'en passant 2 description change'); like ($output, qr/Tags\s+tag/, 'en passant 2 description change'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key enp.rc); +unlink qw(pending.data completed.data undo.data backlog.data enp.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'enp.rc', 'Cleanup'); exit 0; diff --git a/test/export.yaml.t b/test/export.yaml.t index a3507f8cd..42dc6542a 100755 --- a/test/export.yaml.t +++ b/test/export.yaml.t @@ -74,12 +74,11 @@ like ($lines[18], qr/^ uuid: .+$/, 'export YAML line 19'); like ($lines[19], qr/^\.\.\.$/, 'export YAML line 20'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key export.rc export.txt); +unlink qw(pending.data completed.data undo.data backlog.data export.rc export.txt); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'export.rc' && ! -r 'export.txt', 'Cleanup'); diff --git a/test/feature.1013.t b/test/feature.1013.t index f1e23dd4d..985e19f3c 100755 --- a/test/feature.1013.t +++ b/test/feature.1013.t @@ -66,12 +66,11 @@ $stderr = qx{../src/task rc:outerr.rc rc.debug:on list 2>&1 >/dev/null}; like ($stderr, qr/^Timer Config::load \(outerr.rc\) /ms, 'Debugs are sent to stderr'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key outerr.rc); +unlink qw(pending.data completed.data undo.data backlog.data outerr.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'outerr.rc', 'Cleanup'); exit 0; diff --git a/test/feature.559.t b/test/feature.559.t index 4c25731c1..75d8145a0 100755 --- a/test/feature.559.t +++ b/test/feature.559.t @@ -49,12 +49,11 @@ $output = qx{../src/task rc:bug.rc rc.data.location=donkey list 2>&1 >/dev/null} like ($output, qr/Error.+does not exist/, 'Error on missing rc.data.location'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/feature.608.t b/test/feature.608.t index 41286816b..93247d011 100755 --- a/test/feature.608.t +++ b/test/feature.608.t @@ -52,12 +52,11 @@ my $output = qx{../src/task rc:bug.rc info 1 2>&1}; like ($output, qr/End set to/ms, 'Done command also stops started task.'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/feature.725.t b/test/feature.725.t index c61bd1938..dfd2f90a4 100755 --- a/test/feature.725.t +++ b/test/feature.725.t @@ -64,12 +64,11 @@ $output = qx{../src/task rc:feature.rc 1 delete 2>&1}; like ($output, qr/Unblocked/, 'Deleting dependency triggers message'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key feature.rc); +unlink qw(pending.data completed.data undo.data backlog.data feature.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'feature.rc', 'Cleanup'); exit 0; diff --git a/test/feature.891.t b/test/feature.891.t index 799580120..8eef87afe 100755 --- a/test/feature.891.t +++ b/test/feature.891.t @@ -180,12 +180,11 @@ $output = qx{../src/task rc:bug.rc $short list 2>&1}; unlike ($output, qr/one/, "Not found with $short"); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc); +unlink qw(pending.data completed.data undo.data backlog.data bug.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'bug.rc', 'Cleanup'); exit 0; diff --git a/test/feature.exit.t b/test/feature.exit.t index 8a81c3f9c..5b471745c 100755 --- a/test/feature.exit.t +++ b/test/feature.exit.t @@ -46,12 +46,11 @@ my $exit_bad = system ('../src/task rc:exit.rc ls bar >/dev/null 2>&1'); isnt ($exit_bad, 0, 'task returns non-zero on failure'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key exit.rc); +unlink qw(pending.data completed.data undo.data backlog.data exit.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'exit.rc', 'Cleanup'); exit 0; diff --git a/test/filter-prefix.t b/test/filter-prefix.t index 388de1860..3a81039f7 100755 --- a/test/filter-prefix.t +++ b/test/filter-prefix.t @@ -119,12 +119,11 @@ like ($output, qr/seven/, 'i7'); like ($output, qr/eight/, 'i8'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key filter.rc); +unlink qw(pending.data completed.data undo.data backlog.data filter.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'filter.rc', 'Cleanup'); exit 0; diff --git a/test/filter.t b/test/filter.t index 413684ef0..d9785851e 100755 --- a/test/filter.t +++ b/test/filter.t @@ -274,12 +274,11 @@ unlike ($output, qr/six/, 'y6'); unlike ($output, qr/seven/, 'y7'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key filter.rc); +unlink qw(pending.data completed.data undo.data backlog.data filter.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'filter.rc', 'Cleanup'); exit 0; diff --git a/test/fontunderline.t b/test/fontunderline.t index d2cfc908d..db389d196 100755 --- a/test/fontunderline.t +++ b/test/fontunderline.t @@ -73,12 +73,11 @@ $output = qx{../src/task 1 info rc:font.rc rc.color:on rc._forcecolor:on rc.font unlike ($output, qr/--------/, '1,1,1 -> underline'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key font.rc); +unlink qw(pending.data completed.data undo.data backlog.data font.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'font.rc', 'Cleanup'); exit 0; diff --git a/test/history.annual.t b/test/history.annual.t index a1597efb4..3c82424c4 100755 --- a/test/history.annual.t +++ b/test/history.annual.t @@ -68,12 +68,11 @@ like ($output, qr/2\s+3\s+3\s+-4/, 'history.annual - this year'); like ($output, qr/4\s+2\s+1\s+1/, 'history.annual - average'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key time.rc); +unlink qw(pending.data completed.data undo.data backlog.data time.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'time.rc', 'Cleanup'); exit 0; diff --git a/test/history.monthly.t b/test/history.monthly.t index 52accfdd5..85b5992c7 100755 --- a/test/history.monthly.t +++ b/test/history.monthly.t @@ -68,12 +68,11 @@ like ($output, qr/2\s+3\s+3\s+-4/, 'history.monthly - this month'); like ($output, qr/4\s+2\s+1\s+1/, 'history.monthly - average'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key time.rc); +unlink qw(pending.data completed.data undo.data backlog.data time.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'time.rc', 'Cleanup'); exit 0; diff --git a/test/hook.on-exit.t b/test/hook.on-exit.t index 2e6b4a905..1e0fccddc 100755 --- a/test/hook.on-exit.t +++ b/test/hook.on-exit.t @@ -61,12 +61,11 @@ else } # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key hook hook.rc); +unlink qw(pending.data completed.data undo.data backlog.data hook hook.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'hook' && ! -r 'hook.rc', 'Cleanup'); diff --git a/test/hook.on-launch.t b/test/hook.on-launch.t index 3a7c45711..f246cea42 100755 --- a/test/hook.on-launch.t +++ b/test/hook.on-launch.t @@ -60,12 +60,11 @@ else } # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key hook hook.rc); +unlink qw(pending.data completed.data undo.data backlog.data hook hook.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'hook' && ! -r 'hook.rc', 'Cleanup'); diff --git a/test/ids.t b/test/ids.t index 934d8eea6..28cb09ee8 100755 --- a/test/ids.t +++ b/test/ids.t @@ -72,12 +72,11 @@ $output = qx{../src/task rc:ids.rc _zshuuids +A}; like ($output, qr/^[0-9a-f-]+:[a-z]+\n[0-9a-f-]+:[a-z]+\n[0-9a-f-]+:[a-z]+\n[0-9a-f-]+:[a-z]+$/, '_zshuuids +A --> uuid:*\nuuid:*\nuuid:*\nuuid:*'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key ids.rc); +unlink qw(pending.data completed.data undo.data backlog.data ids.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'ids.rc', 'Cleanup'); exit 0; diff --git a/test/import.t b/test/import.t index 6cafae627..2dcfd80f8 100755 --- a/test/import.t +++ b/test/import.t @@ -98,14 +98,13 @@ like ($output, qr/Imported 1 tasks\./, 'no errors'); # Imported 1 tasks successfully. # Cleanup. -unlink qw(import.txt import2.txt pending.data completed.data undo.data backlog.data synch.key import.rc); +unlink qw(import.txt import2.txt pending.data completed.data undo.data backlog.data import.rc); ok (! -r 'import.txt' && ! -r 'import2.txt' && ! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'import.rc', 'Cleanup'); exit 0; diff --git a/test/import.todo.sh.t b/test/import.todo.sh.t index 8be36dd18..b4720c373 100755 --- a/test/import.todo.sh.t +++ b/test/import.todo.sh.t @@ -120,12 +120,11 @@ like ($output, qr/^Description.+xylophone lesson/ms, '12 '); # TODO and now the completed ones. # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key import.rc import.txt import.json); +unlink qw(pending.data completed.data undo.data backlog.data import.rc import.txt import.json); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'import.rc' && ! -r 'import.txt' && ! -r 'import.json', 'Cleanup'); diff --git a/test/import.yaml.t b/test/import.yaml.t index b6a930d4c..5d50668fa 100755 --- a/test/import.yaml.t +++ b/test/import.yaml.t @@ -140,12 +140,11 @@ like ($output, qr/2.+B.+one/, 't2 present'); like ($output, qr/3.+three/, 't3 present'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key import.rc import.txt import.json); +unlink qw(pending.data completed.data undo.data backlog.data import.rc import.txt import.json); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'import.rc' && ! -r 'import.txt' && ! -r 'import.json', 'Cleanup'); diff --git a/test/label.t b/test/label.t index afd50c124..3d38ff8e9 100755 --- a/test/label.t +++ b/test/label.t @@ -56,12 +56,11 @@ like ($output, qr/one/, 'custom filter included'); unlike ($output, qr/two/, 'custom filter excluded'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key custom.rc); +unlink qw(pending.data completed.data undo.data backlog.data custom.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'custom.rc', 'Cleanup'); exit 0; diff --git a/test/limit.t b/test/limit.t index 11f7b7894..2250d4fd4 100755 --- a/test/limit.t +++ b/test/limit.t @@ -83,12 +83,11 @@ $output = qx{../src/task rc:limit.rc ls limit:page 2>&1}; like ($output, qr/^30 tasks, truncated to 18 lines$/ms, 'limited to page'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key limit.rc); +unlink qw(pending.data completed.data undo.data backlog.data limit.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'limit.rc', 'Cleanup'); exit 0; diff --git a/test/list.all.projects.t b/test/list.all.projects.t index fbb06c8d6..ed7097d5c 100755 --- a/test/list.all.projects.t +++ b/test/list.all.projects.t @@ -57,12 +57,11 @@ like ($output, qr/p1/, 'p1 listed'); like ($output, qr/p2/, 'p2 listed'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key projects.rc); +unlink qw(pending.data completed.data undo.data backlog.data projects.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'projects.rc', 'Cleanup'); exit 0; diff --git a/test/list.all.tags.t b/test/list.all.tags.t index 084c1f679..51b11ab10 100755 --- a/test/list.all.tags.t +++ b/test/list.all.tags.t @@ -57,12 +57,11 @@ like ($output, qr/t1/, 't1 listed'); like ($output, qr/t2/, 't2 listed'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key tags.rc); +unlink qw(pending.data completed.data undo.data backlog.data tags.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'tags.rc', 'Cleanup'); exit 0; diff --git a/test/log.t b/test/log.t index 52b143a13..383354522 100755 --- a/test/log.t +++ b/test/log.t @@ -45,12 +45,11 @@ my $output = qx{../src/task rc:log.rc completed 2>&1}; like ($output, qr/This is a test/, 'log description'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key log.rc); +unlink qw(pending.data completed.data undo.data backlog.data log.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'log.rc', 'Cleanup'); exit 0; diff --git a/test/merge.duplicates.t b/test/merge.duplicates.t index 5d3c99f88..476370656 100755 --- a/test/merge.duplicates.t +++ b/test/merge.duplicates.t @@ -176,40 +176,36 @@ like ($output, qr/up-to-date/, "res2: up-to-date"); unlike ($output, qr/Missing/, "no missing entry"); # Cleanup. -unlink qw(data1/pending.data data1/completed.data data1/undo.data data1/undo.save data1/backlog.data data1/synch.key 1.rc); +unlink qw(data1/pending.data data1/completed.data data1/undo.data data1/undo.save data1/backlog.data data1/ 1.rc); ok (! -r 'data1/pending.data' && ! -r 'data1/completed.data' && ! -r 'data1/undo.data' && ! -r 'data1/undo.save' && ! -r 'data1/backlog.data' && - ! -r 'data1/synch.key' && ! -r '1.rc', 'data1 Cleanup'); -unlink qw(data2/pending.data data2/completed.data data2/undo.data data2/undo.save data2/backlog.data data2/synch.key 2.rc); +unlink qw(data2/pending.data data2/completed.data data2/undo.data data2/undo.save data2/backlog.data 2.rc); ok (! -r 'data2/pending.data' && ! -r 'data2/completed.data' && ! -r 'data2/undo.data' && ! -r 'data2/undo.save' && ! -r 'data2/backlog.data' && - ! -r 'data2/synch.key' && ! -r '2.rc', 'data2 Cleanup'); -unlink qw(data3/pending.data data3/completed.data data3/undo.data data3/undo.save data3/backlog.data data3/synch.key 3.rc); +unlink qw(data3/pending.data data3/completed.data data3/undo.data data3/undo.save data3/backlog.data 3.rc); ok (! -r 'data3/pending.data' && ! -r 'data3/completed.data' && ! -r 'data3/undo.data' && ! -r 'data3/undo.save' && ! -r 'data3/backlog.data' && - ! -r 'data3/synch.key' && ! -r '3.rc', 'data3 Cleanup'); -unlink qw(backup/pending.data backup/completed.data backup/undo.data backup/undo.save backup/backlog.data backup/synch.key); +unlink qw(backup/pending.data backup/completed.data backup/undo.data backup/undo.save backup/backlog.data); ok (! -r 'backup/pending.data' && ! -r 'backup/completed.data' && ! -r 'backup/undo.data' && ! -r 'backup/undo.save' && ! -r 'backup/backlog.data' && - ! -r 'backup/synch.key', 'backup Cleanup'); rmtree (['data1/extensions', 'data1', 'data2/extensions', 'data2', 'data3/extensions', 'data3', 'backup/extensions', 'backup'], 0, 1); ok (! -e 'data1/extensions' && diff --git a/test/merge.t b/test/merge.t index 3b1fce331..9802bc069 100755 --- a/test/merge.t +++ b/test/merge.t @@ -231,21 +231,19 @@ if (open my $fh, 'remote/undo.data') { ok ($good, "remote-merge: timestamps ok"); # Cleanup. -unlink qw(local/pending.data local/completed.data local/undo.data local/undo.save local/backlog.data local/synch.key local.rc); +unlink qw(local/pending.data local/completed.data local/undo.data local/undo.save local/backlog.data local.rc); ok (! -r 'local/pending.data' && ! -r 'local/completed.data' && ! -r 'local/undo.data' && ! -r 'local/undo.save' && ! -r 'local/backlog.data' && - ! -r 'local/synch.key' && ! -r 'local.rc', 'Local Cleanup'); -unlink qw(remote/pending.data remote/completed.data remote/undo.data remote/backlog.data remote/synch.key remote.rc); +unlink qw(remote/pending.data remote/completed.data remote/undo.data remote/backlog.data remote.rc); ok (! -r 'remote/pending.data' && ! -r 'remote/completed.data' && ! -r 'remote/undo.data' && ! -r 'remote/backlog.data' && - ! -r 'remote/synch.key' && ! -r 'remote.rc', 'Remove Cleanup'); rmtree (['remote/extensions', 'remote', 'local/extensions', 'local'], 0, 1); diff --git a/test/nag.t b/test/nag.t index 8388b0654..12090c649 100755 --- a/test/nag.t +++ b/test/nag.t @@ -56,12 +56,11 @@ my $output = qx{../src/task rc:nag.rc 1 do 2>&1 >/dev/null}; unlike ($output, qr/NAG/, 'do due:yesterday -> no nag'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key nag.rc); +unlink qw(pending.data completed.data undo.data backlog.data nag.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'nag.rc', 'Cleanup'); exit 0; diff --git a/test/next.t b/test/next.t index c627f42b0..174a69976 100755 --- a/test/next.t +++ b/test/next.t @@ -51,12 +51,11 @@ like ($output, qr/AH/, 'AH shown'); like ($output, qr/BH/, 'BH shown'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key next.rc); +unlink qw(pending.data completed.data undo.data backlog.data next.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'next.rc', 'Cleanup'); exit 0; diff --git a/test/oldest.t b/test/oldest.t index 812988117..d073136e0 100755 --- a/test/oldest.t +++ b/test/oldest.t @@ -128,12 +128,11 @@ like ($output, qr/ten/, 'newest: ten'); like ($output, qr/eleven/, 'newest: eleven'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key oldest.rc); +unlink qw(pending.data completed.data undo.data backlog.data oldest.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'oldest.rc', 'Cleanup'); exit 0; diff --git a/test/op_and.t b/test/op_and.t index 0ede0b099..0f8fd3304 100755 --- a/test/op_and.t +++ b/test/op_and.t @@ -83,12 +83,11 @@ unlike ($output, qr/three/, 'ls project:A priority:H --> !three'); unlike ($output, qr/four/, 'ls project:A priority:H --> !four'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key op.rc); +unlink qw(pending.data completed.data undo.data backlog.data op.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'op.rc', 'Cleanup'); exit 0; diff --git a/test/op_gt.t b/test/op_gt.t index e231828f9..494b8b107 100755 --- a/test/op_gt.t +++ b/test/op_gt.t @@ -77,12 +77,11 @@ like ($output, qr/three/, 'ls description > t --> three'); unlike ($output, qr/four/, 'ls description > t --> !four'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key op.rc); +unlink qw(pending.data completed.data undo.data backlog.data op.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'op.rc', 'Cleanup'); exit 0; diff --git a/test/op_gte.t b/test/op_gte.t index 6eb84b3c4..225302753 100755 --- a/test/op_gte.t +++ b/test/op_gte.t @@ -59,12 +59,11 @@ like ($output, qr/three/, 'ls description >= t --> three'); unlike ($output, qr/four/, 'ls description >= t --> !four'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key op.rc); +unlink qw(pending.data completed.data undo.data backlog.data op.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'op.rc', 'Cleanup'); exit 0; diff --git a/test/op_lt.t b/test/op_lt.t index 1760ce9d5..7782b7afa 100755 --- a/test/op_lt.t +++ b/test/op_lt.t @@ -77,12 +77,11 @@ unlike ($output, qr/three/, 'ls description < t --> !three'); like ($output, qr/four/, 'ls description < t --> four'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key op.rc); +unlink qw(pending.data completed.data undo.data backlog.data op.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'op.rc', 'Cleanup'); exit 0; diff --git a/test/op_lte.t b/test/op_lte.t index e6f214bb1..73d16730d 100755 --- a/test/op_lte.t +++ b/test/op_lte.t @@ -59,12 +59,11 @@ unlike ($output, qr/three/, 'ls description <= t --> !three'); like ($output, qr/four/, 'ls description <= t --> four'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key op.rc); +unlink qw(pending.data completed.data undo.data backlog.data op.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'op.rc', 'Cleanup'); exit 0; diff --git a/test/op_or.t b/test/op_or.t index 76174cbf4..ed71ef35b 100755 --- a/test/op_or.t +++ b/test/op_or.t @@ -71,12 +71,11 @@ like ($output, qr/three/, 'ls project=A or priority=H --> three'); unlike ($output, qr/four/, 'ls project=A or priority=H --> !four'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key op.rc); +unlink qw(pending.data completed.data undo.data backlog.data op.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'op.rc', 'Cleanup'); exit 0; diff --git a/test/op_xor.t b/test/op_xor.t index f84b8ea54..43f6fc496 100755 --- a/test/op_xor.t +++ b/test/op_xor.t @@ -71,12 +71,11 @@ like ($output, qr/three/, 'ls project=A priority=H --> three'); unlike ($output, qr/four/, 'ls project=A priority=H --> !four'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key op.rc); +unlink qw(pending.data completed.data undo.data backlog.data op.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'op.rc', 'Cleanup'); exit 0; diff --git a/test/overdue.t b/test/overdue.t index 85c2274ba..371db4687 100755 --- a/test/overdue.t +++ b/test/overdue.t @@ -50,12 +50,11 @@ unlike ($output, qr/two/, 'overdue: task 2 does not show up'); unlike ($output, qr/three/, 'overdue: task 3 does not show up'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key due.rc); +unlink qw(pending.data completed.data undo.data backlog.data due.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'due.rc', 'Cleanup'); exit 0; diff --git a/test/override.t b/test/override.t index b468b0629..d18e4bc87 100755 --- a/test/override.t +++ b/test/override.t @@ -51,12 +51,11 @@ my $output = qx{../src/task rc:or.rc zzz 2>&1}; like ($output, qr/ONE.+TWO/ms, 'filter override > rc setting'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key or.rc); +unlink qw(pending.data completed.data undo.data backlog.data or.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'or.rc', 'Cleanup'); exit 0; diff --git a/test/prepend.t b/test/prepend.t index 95256bd8e..cd8b7bb62 100755 --- a/test/prepend.t +++ b/test/prepend.t @@ -49,12 +49,11 @@ $output = qx{../src/task rc:prepend.rc 1 prepend 2>&1}; unlike ($output, qr/Prepended 0 tasks/, 'blank prepend failed'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key prepend.rc); +unlink qw(pending.data completed.data undo.data backlog.data prepend.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'prepend.rc', 'Cleanup'); exit 0; diff --git a/test/pri_sort.t b/test/pri_sort.t index 4db7281f9..c1a862d39 100755 --- a/test/pri_sort.t +++ b/test/pri_sort.t @@ -93,12 +93,11 @@ $output = qx{../src/task rc:pri.rc ls priority.over: 2>&1}; unlike ($output, qr/_/, 'pri _ !> _'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key pri.rc); +unlink qw(pending.data completed.data undo.data backlog.data pri.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'pri.rc', 'Cleanup'); exit 0; diff --git a/test/project.t b/test/project.t index 72734f4c4..cddb389d6 100755 --- a/test/project.t +++ b/test/project.t @@ -152,12 +152,11 @@ else like ($project_name_column, qr/^myProject\.\s*$/, '\'myProject.\' not indented'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key pro.rc); +unlink qw(pending.data completed.data undo.data backlog.data pro.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'pro.rc', 'Cleanup'); exit 0; diff --git a/test/recur.limit.t b/test/recur.limit.t index 6c3e9b31a..a9d15a2b2 100755 --- a/test/recur.limit.t +++ b/test/recur.limit.t @@ -54,12 +54,11 @@ $output = qx{../src/task rc:recur.rc diag 2>&1}; like ($output, qr/No duplicates found/, 'No duplicate UUIDs detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key recur.rc); +unlink qw(pending.data completed.data undo.data backlog.data recur.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'recur.rc', 'Cleanup'); exit 0; diff --git a/test/recur.sort.t b/test/recur.sort.t index 47f246d25..21926f8a9 100755 --- a/test/recur.sort.t +++ b/test/recur.sort.t @@ -57,12 +57,11 @@ $output = qx{../src/task rc:recur.rc diag 2>&1}; like ($output, qr/No duplicates found/, 'No duplicate UUIDs detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key recur.rc); +unlink qw(pending.data completed.data undo.data backlog.data recur.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'recur.rc', 'Cleanup'); exit 0; diff --git a/test/recur.t b/test/recur.t index 4c70283c2..7eeaec114 100755 --- a/test/recur.t +++ b/test/recur.t @@ -94,12 +94,11 @@ $output = qx{../src/task rc:recur.rc diag 2>&1}; like ($output, qr/No duplicates found/, 'No duplicate UUIDs detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key recur.rc); +unlink qw(pending.data completed.data undo.data backlog.data recur.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'recur.rc', 'Cleanup'); exit 0; diff --git a/test/recur.until.t b/test/recur.until.t index 68aadafea..d4681cfbf 100755 --- a/test/recur.until.t +++ b/test/recur.until.t @@ -59,12 +59,11 @@ $output = qx{../src/task rc:recur.rc diag 2>&1}; like ($output, qr/No duplicates found/, 'No duplicate UUIDs detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key recur.rc); +unlink qw(pending.data completed.data undo.data backlog.data recur.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'recur.rc', 'Cleanup'); exit 0; diff --git a/test/recur.weekdays.t b/test/recur.weekdays.t index 510f765fe..464df35f2 100755 --- a/test/recur.weekdays.t +++ b/test/recur.weekdays.t @@ -53,12 +53,11 @@ $output = qx{../src/task rc:recur.rc diag 2>&1}; like ($output, qr/No duplicates found/, 'No duplicate UUIDs detected'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key recur.rc); +unlink qw(pending.data completed.data undo.data backlog.data recur.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'recur.rc', 'Cleanup'); exit 0; diff --git a/test/roundtrip.t b/test/roundtrip.t index 6cbceade0..fcd7e8b6e 100755 --- a/test/roundtrip.t +++ b/test/roundtrip.t @@ -66,13 +66,12 @@ like ($output, qr/1.+A.+H.+\d+\/\d+\/\d+.+(?:-|\d+).+one/, '2 round trips like ($output, qr/2.+\d+\/\d+\/\d+.+(?:-|\d+).+tag1\stag2\stwo/, '2 round trips task 2 identical'); # Cleanup. -unlink qw(roundtrip.txt pending.data completed.data undo.data backlog.data synch.key roundtrip.rc); +unlink qw(roundtrip.txt pending.data completed.data undo.data backlog.data roundtrip.rc); ok (! -r 'roundtrip.txt' && ! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'roundtrip.rc', 'Cleanup'); exit 0; diff --git a/test/sequence.t b/test/sequence.t index 4c3d18303..b71cd35d7 100755 --- a/test/sequence.t +++ b/test/sequence.t @@ -118,12 +118,11 @@ $output = qx{../src/task rc:seq.rc info 2 2>&1}; like ($output, qr/\d+\/\d+\/\d+ note/, 'sequence 2 annotate'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key seq.rc); +unlink qw(pending.data completed.data undo.data backlog.data seq.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'seq.rc', 'Cleanup'); exit 0; diff --git a/test/shadow.t b/test/shadow.t index 280e66174..9fd6711b5 100755 --- a/test/shadow.t +++ b/test/shadow.t @@ -70,12 +70,11 @@ like ($file, qr/Unique tags\s+0\n/, 'Unique tags 0'); like ($file, qr/Projects\s+0\n/, 'Projects 0'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key shadow.txt shadow.rc); +unlink qw(pending.data completed.data undo.data backlog.data shadow.txt shadow.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'shadow.txt' && ! -r 'shadow.rc', 'Cleanup'); diff --git a/test/shell.t b/test/shell.t index 16ff7d1fc..127c3f27e 100755 --- a/test/shell.t +++ b/test/shell.t @@ -54,12 +54,11 @@ unlink 'shell.rc'; ok (!-r 'shell.rc', 'Removed shell.rc'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key shell.rc); +unlink qw(pending.data completed.data undo.data backlog.data shell.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'shell.rc', 'Cleanup'); exit 0; diff --git a/test/sorting.t b/test/sorting.t index 8a16f3bd9..59fbabc1d 100755 --- a/test/sorting.t +++ b/test/sorting.t @@ -177,12 +177,11 @@ for my $sort (sort keys %tests) } # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key sorting.rc); +unlink qw(pending.data completed.data undo.data backlog.data sorting.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'sorting.rc', 'Cleanup'); exit 0; diff --git a/test/special.t b/test/special.t index b05d403ed..4c0f69a6f 100755 --- a/test/special.t +++ b/test/special.t @@ -59,12 +59,11 @@ $output = qx{../src/task rc:special.rc 2 done 2>&1}; unlike ($output, qr/NAG/, '+nonag suppressed nagging for task 2'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key special.rc); +unlink qw(pending.data completed.data undo.data backlog.data special.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'special.rc', 'Cleanup'); exit 0; diff --git a/test/start.t b/test/start.t index 767bfb0cd..3df64fafa 100755 --- a/test/start.t +++ b/test/start.t @@ -102,12 +102,11 @@ $output = qx{../src/task rc:start3.rc list 2>&1}; like ($output, qr/Nu.+stannar.+vi/ms, 'one stopped and annotated with custom description'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key start.rc start2.rc start3.rc); +unlink qw(pending.data completed.data undo.data backlog.data start.rc start2.rc start3.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'start.rc' && ! -r 'start2.rc' && ! -r 'start3.rc', 'Cleanup'); diff --git a/test/subproject.t b/test/subproject.t index f5878aaee..576de96a1 100755 --- a/test/subproject.t +++ b/test/subproject.t @@ -63,12 +63,11 @@ $output = qx{../src/task rc:sp.rc list project:abcd 2>&1 >/dev/null}; like ($output, qr/No matches./, 'abc,ab,a,b | abcd -> nul'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key sp.rc); +unlink qw(pending.data completed.data undo.data backlog.data sp.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'sp.rc', 'Cleanup'); exit 0; diff --git a/test/substitute.t b/test/substitute.t index b76d5c75d..d9caf2970 100755 --- a/test/substitute.t +++ b/test/substitute.t @@ -75,12 +75,11 @@ $output = qx{../src/task rc:subst.rc info 1 2>&1}; like ($output, qr/aaa CcC/, 'regex'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key subst.rc); +unlink qw(pending.data completed.data undo.data backlog.data subst.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'subst.rc', 'Cleanup'); exit 0; diff --git a/test/tag.t b/test/tag.t index 7a3fa2b1d..dcbd2539c 100755 --- a/test/tag.t +++ b/test/tag.t @@ -63,12 +63,11 @@ $output = qx{../src/task rc:tag.rc 1 modify -missing 2>&1; ../src/task rc:tag.rc unlike ($output, qr/^Tags/m, '-missing NOP'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key tag.rc); +unlink qw(pending.data completed.data undo.data backlog.data tag.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'tag.rc', 'Cleanup'); exit 0; diff --git a/test/tdb2.t.cpp b/test/tdb2.t.cpp index 4005cacac..ce70dc337 100644 --- a/test/tdb2.t.cpp +++ b/test/tdb2.t.cpp @@ -48,10 +48,7 @@ int main (int argc, char** argv) unlink ("./pending.data"); unlink ("./completed.data"); unlink ("./undo.data"); -/* unlink ("./backlog.data"); -*/ - unlink ("./synch.key"); // Set the context to allow GC. context.config.set ("gc", "on"); @@ -63,18 +60,12 @@ int main (int argc, char** argv) std::vector pending = context.tdb2.pending.get_tasks (); std::vector completed = context.tdb2.completed.get_tasks (); std::vector undo = context.tdb2.undo.get_lines (); -/* std::vector backlog = context.tdb2.backlog.get_tasks (); - std::vector synch_key = context.tdb2.synch_key.get_lines (); -*/ t.is ((int) pending.size (), 0, "TDB2 Read empty pending"); t.is ((int) completed.size (), 0, "TDB2 Read empty completed"); t.is ((int) undo.size (), 0, "TDB2 Read empty undo"); -/* t.is ((int) backlog.size (), 0, "TDB2 Read empty backlog"); - t.is ((int) synch_key.size (), 0, "TDB2 Read empty synch.key"); -*/ // Add a task. Task task ("[description:\"description\" name:\"value\"]"); @@ -83,18 +74,12 @@ int main (int argc, char** argv) pending = context.tdb2.pending.get_tasks (); completed = context.tdb2.completed.get_tasks (); undo = context.tdb2.undo.get_lines (); -/* backlog = context.tdb2.backlog.get_tasks (); - synch_key = context.tdb2.synch_key.get_lines (); -*/ t.is ((int) pending.size (), 1, "TDB2 after add, 1 pending task"); t.is ((int) completed.size (), 0, "TDB2 after add, 0 completed tasks"); t.is ((int) undo.size (), 3, "TDB2 after add, 3 undo lines"); -/* t.is ((int) backlog.size (), 1, "TDB2 after add, 1 backlog task"); - t.is ((int) synch_key.size (), 0, "TDB2 after add, 0 synch.key"); -*/ task.set ("description", "This is a test"); context.tdb2.modify (task); @@ -102,18 +87,12 @@ int main (int argc, char** argv) pending = context.tdb2.pending.get_tasks (); completed = context.tdb2.completed.get_tasks (); undo = context.tdb2.undo.get_lines (); -/* backlog = context.tdb2.backlog.get_tasks (); - synch_key = context.tdb2.synch_key.get_lines (); -*/ t.is ((int) pending.size (), 1, "TDB2 after add, 1 pending task"); t.is ((int) completed.size (), 0, "TDB2 after add, 0 completed tasks"); t.is ((int) undo.size (), 7, "TDB2 after add, 7 undo lines"); -/* t.is ((int) backlog.size (), 2, "TDB2 after add, 2 backlog task"); - t.is ((int) synch_key.size (), 0, "TDB2 after add, 0 synch.key"); -*/ context.tdb2.commit (); @@ -143,7 +122,6 @@ int main (int argc, char** argv) unlink ("./completed.data"); unlink ("./undo.data"); unlink ("./backlog.data"); - unlink ("./synch.key"); return 0; } diff --git a/test/timesheet.t b/test/timesheet.t index 27f471b34..0a812860e 100755 --- a/test/timesheet.t +++ b/test/timesheet.t @@ -82,12 +82,11 @@ $output = qx{../src/task rc:time.rc timesheet 3 2>&1}; like ($output, qr/Completed.+C0.+Started.+PS0.+Completed.+C1.+Started.+PS1.+Completed.+C2.+Started.+PS2/ms, 'three weeks of started and completed'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key time.rc); +unlink qw(pending.data completed.data undo.data backlog.data time.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'time.rc', 'Cleanup'); exit 0; diff --git a/test/uda_date.t b/test/uda_date.t index 80a53198d..5eacfda34 100755 --- a/test/uda_date.t +++ b/test/uda_date.t @@ -57,12 +57,11 @@ $output = qx{../src/task rc:uda.rc add bad extra:unrecognized_date 2>&1}; unlike ($output, qr/Created task \d+/, 'UDA date bad data not accepted'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key uda.rc); +unlink qw(pending.data completed.data undo.data backlog.data uda.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'uda.rc', 'Cleanup'); exit 0; diff --git a/test/uda_duration.t b/test/uda_duration.t index 57f5031cd..35e6b0a76 100755 --- a/test/uda_duration.t +++ b/test/uda_duration.t @@ -61,12 +61,11 @@ $output = qx{../src/task rc:uda.rc add bad extra:unrecognized_duration 2>&1}; unlike ($output, qr/Created task \d+/, 'UDA duration bad data not accepted'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key uda.rc); +unlink qw(pending.data completed.data undo.data backlog.data uda.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'uda.rc', 'Cleanup'); exit 0; diff --git a/test/uda_numeric.t b/test/uda_numeric.t index 7f631b861..c4592bde7 100755 --- a/test/uda_numeric.t +++ b/test/uda_numeric.t @@ -57,12 +57,11 @@ $output = qx{../src/task rc:uda.rc add bad extra:unrecognized_numeric 2>&1}; unlike ($output, qr/Created task \d+/, 'UDA numeric bad data not accepted'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key uda.rc); +unlink qw(pending.data completed.data undo.data backlog.data uda.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'uda.rc', 'Cleanup'); exit 0; diff --git a/test/uda_orphan.t b/test/uda_orphan.t index 7693a2fbc..9fa0f2d27 100755 --- a/test/uda_orphan.t +++ b/test/uda_orphan.t @@ -85,12 +85,11 @@ $output = qx{../src/task rc:uda.rc 2 info 2>&1}; like ($output, qr/extra\s+bar/, 'UDA orphan imported and visible'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key uda.rc import.txt); +unlink qw(pending.data completed.data undo.data backlog.data uda.rc import.txt); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'uda.rc' && ! -r 'import.txt', 'Cleanup'); diff --git a/test/uda_report.t b/test/uda_report.t index 69b57d6cf..6cd1aafc2 100755 --- a/test/uda_report.t +++ b/test/uda_report.t @@ -63,12 +63,11 @@ $output = qx{../src/task rc:uda.rc bad 2>&1}; like ($output, qr/Unrecognized column name/, 'UDA Orphan causes error'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key uda.rc import.txt); +unlink qw(pending.data completed.data undo.data backlog.data uda.rc import.txt); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'uda.rc' && ! -r 'import.txt', 'Cleanup'); diff --git a/test/uda_string.t b/test/uda_string.t index a9b969b3f..16702293b 100755 --- a/test/uda_string.t +++ b/test/uda_string.t @@ -53,12 +53,11 @@ like ($output, qr/1\s+one two\s+with/, 'UDA string stored'); like ($output, qr/2\s+without/, 'UDA string blank'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key uda.rc); +unlink qw(pending.data completed.data undo.data backlog.data uda.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'uda.rc', 'Cleanup'); exit 0; diff --git a/test/uda_value.t b/test/uda_value.t index 30d4dbfa1..e61b5b3df 100755 --- a/test/uda_value.t +++ b/test/uda_value.t @@ -53,12 +53,11 @@ $output = qx{../src/task rc:uda.rc add three smell:toxic 2>&1}; unlike ($output, qr/Created task 3/, 'UDA smell:toxic disallowed'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key uda.rc); +unlink qw(pending.data completed.data undo.data backlog.data uda.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'uda.rc', 'Cleanup'); exit 0; diff --git a/test/undo.t b/test/undo.t index 852570f7b..83142c453 100755 --- a/test/undo.t +++ b/test/undo.t @@ -62,12 +62,11 @@ unlike ($output, qr/Unknown error/, 'No unknown error'); like ($output, qr/The undo command does not allow further task modification/, 'Correct error caught and reported'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key undo.rc); +unlink qw(pending.data completed.data undo.data backlog.data undo.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'undo.rc', 'Cleanup'); exit 0; diff --git a/test/upgrade.t b/test/upgrade.t index abd4b4aad..09e3731f7 100755 --- a/test/upgrade.t +++ b/test/upgrade.t @@ -55,12 +55,11 @@ like ($output, qr/Status\s+Pending/, 'Upgraded child: good status'); like ($output, qr/Recurrence\s+weekly/, 'Upgraded child: good recurrence'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key upgrade.rc); +unlink qw(pending.data completed.data undo.data backlog.data upgrade.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'upgrade.rc', 'Cleanup'); exit 0; diff --git a/test/urgency.t b/test/urgency.t index 8b85e140a..1c00bee53 100755 --- a/test/urgency.t +++ b/test/urgency.t @@ -316,12 +316,11 @@ $output = qx{../src/task rc:urgency.rc rc.urgency.priority.coefficient:0.01234 4 like ($output, qr/Urgency 0.01$/ms, 'near-zero urgency is truncated'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key urgency.rc); +unlink qw(pending.data completed.data undo.data backlog.data urgency.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'urgency.rc', 'Cleanup'); exit 0; diff --git a/test/utf8.t b/test/utf8.t index 63720b910..228e7db6e 100755 --- a/test/utf8.t +++ b/test/utf8.t @@ -70,12 +70,11 @@ $output = qx{../src/task rc:utf8.rc ls +Zwölf 2>&1}; like ($output, qr/utf8 in tag/, 'utf8 in tag works'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key utf8.rc); +unlink qw(pending.data completed.data undo.data backlog.data utf8.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'utf8.rc', 'Cleanup'); exit 0; diff --git a/test/uuid.t b/test/uuid.t index 026834568..12bd849a8 100755 --- a/test/uuid.t +++ b/test/uuid.t @@ -106,12 +106,11 @@ like ($output, qr/12\/30\/2010/, 'modified entry date of task three'); like ($output, qr/1\/1\/2011/, 'added start date of task three with modify'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key uuid.rc); +unlink qw(pending.data completed.data undo.data backlog.data uuid.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'uuid.rc', 'Cleanup'); exit 0; diff --git a/test/verbose.t b/test/verbose.t index fec2ccf26..2e975f367 100755 --- a/test/verbose.t +++ b/test/verbose.t @@ -66,12 +66,11 @@ unlike ($output, qr/ID.+Project.+Pri.+Description/, '\'label\' verbosity good'); # TODO Verbosity: 'project' # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key verbose.rc); +unlink qw(pending.data completed.data undo.data backlog.data verbose.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'verbose.rc', 'Cleanup'); exit 0; diff --git a/test/wait.t b/test/wait.t index 97bed5ec1..828b3d3b7 100755 --- a/test/wait.t +++ b/test/wait.t @@ -78,12 +78,11 @@ $output = qx{../src/task rc:wait.rc add Complain due:today wait:tomorrow 2>&1 >/ like ($output, qr/Warning: You have specified that the 'wait' date is after the 'due' date\./, 'warning on wait after due'); # Cleanup. -unlink qw(pending.data completed.data undo.data backlog.data synch.key wait.rc); +unlink qw(pending.data completed.data undo.data backlog.data wait.rc); ok (! -r 'pending.data' && ! -r 'completed.data' && ! -r 'undo.data' && ! -r 'backlog.data' && - ! -r 'synch.key' && ! -r 'wait.rc', 'Cleanup'); exit 0;