[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-536-g18132e4
Shawn Moore
sartak at bestpractical.com
Tue Aug 24 17:17:21 EDT 2010
The branch, 3.9-trunk has been updated
via 18132e4e0a17010761786644a2aec5ed85a58f6f (commit)
from 65423feecd6d8d5d7a55832cdb63136f128d0de6 (commit)
Summary of changes:
t/api/cf_pattern.t | 2 +-
t/ticket/cfsort-freeform-multiple.t | 2 ++
t/ticket/cfsort-freeform-single.t | 2 +-
t/ticket/search_by_cf_freeform_single.t | 3 ++-
t/ticket/search_by_links.t | 2 ++
t/ticket/search_by_watcher.t | 2 +-
t/ticket/sort-by-queue.t | 1 +
t/ticket/sort-by-user.t | 1 +
8 files changed, 11 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 18132e4e0a17010761786644a2aec5ed85a58f6f
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Aug 24 16:26:26 2010 -0400
Clear closed-over ticket variables to avoid global destruction screwiness
diff --git a/t/api/cf_pattern.t b/t/api/cf_pattern.t
index 89db2fe..ffc5b3f 100644
--- a/t/api/cf_pattern.t
+++ b/t/api/cf_pattern.t
@@ -50,4 +50,4 @@ works($cf->SetPattern('(?!)')); # reject everything
fails(add(''));
fails(add('...'));
-1;
+undef $t;
diff --git a/t/ticket/cfsort-freeform-multiple.t b/t/ticket/cfsort-freeform-multiple.t
index f432181..b5fd93b 100644
--- a/t/ticket/cfsort-freeform-multiple.t
+++ b/t/ticket/cfsort-freeform-multiple.t
@@ -135,3 +135,5 @@ run_tests();
);
run_tests();
+ at tickets = ();
+
diff --git a/t/ticket/cfsort-freeform-single.t b/t/ticket/cfsort-freeform-single.t
index e0fd444..4bf3300 100644
--- a/t/ticket/cfsort-freeform-single.t
+++ b/t/ticket/cfsort-freeform-single.t
@@ -187,5 +187,5 @@ diag "create another CF";
);
run_tests();
-
+ at tickets = ();
diff --git a/t/ticket/search_by_cf_freeform_single.t b/t/ticket/search_by_cf_freeform_single.t
index af0bb7e..f597071 100644
--- a/t/ticket/search_by_cf_freeform_single.t
+++ b/t/ticket/search_by_cf_freeform_single.t
@@ -139,4 +139,5 @@ sub run_tests {
}
run_tests();
-exit 0;
+ at tickets = ();
+
diff --git a/t/ticket/search_by_links.t b/t/ticket/search_by_links.t
index a8e955c..611c158 100644
--- a/t/ticket/search_by_links.t
+++ b/t/ticket/search_by_links.t
@@ -130,3 +130,5 @@ my $pid = $tickets[1]->id;
}
run_tests();
+ at tickets = ();
+
diff --git a/t/ticket/search_by_watcher.t b/t/ticket/search_by_watcher.t
index 9d94432..b3a16db 100644
--- a/t/ticket/search_by_watcher.t
+++ b/t/ticket/search_by_watcher.t
@@ -276,5 +276,5 @@ my $nobody = RT::Nobody();
is($tix->Count, 2, "found ticket(s)");
}
+ at tickets = ();
-exit(0)
diff --git a/t/ticket/sort-by-queue.t b/t/ticket/sort-by-queue.t
index 1edd0c5..8f89bd3 100644
--- a/t/ticket/sort-by-queue.t
+++ b/t/ticket/sort-by-queue.t
@@ -98,3 +98,4 @@ sub run_tests {
);
run_tests();
+ at tickets = ();
diff --git a/t/ticket/sort-by-user.t b/t/ticket/sort-by-user.t
index 45fe193..d1aae1a 100644
--- a/t/ticket/sort-by-user.t
+++ b/t/ticket/sort-by-user.t
@@ -150,3 +150,4 @@ run_tests();
);
run_tests();
+ at tickets = ();
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list