[Bps-public-commit] SD branch, master, updated. c92489b0302829cb4efbfb5e8622a01428b7412a
jesse
jesse at bestpractical.com
Thu Jul 16 17:07:11 EDT 2009
The branch, master has been updated
via c92489b0302829cb4efbfb5e8622a01428b7412a (commit)
from ce3537f9096e41fbb4e2ca5bcc213e36768d30c7 (commit)
Summary of changes:
t/sd-log.t | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit c92489b0302829cb4efbfb5e8622a01428b7412a
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Thu Jul 16 17:06:47 2009 -0400
Fix sd-log tests for filesystems with regex metacharacters in tempfile names
diff --git a/t/sd-log.t b/t/sd-log.t
index 5502731..3a894aa 100644
--- a/t/sd-log.t
+++ b/t/sd-log.t
@@ -26,7 +26,7 @@ my ($log_id, $log_uuid) = create_ticket_ok( '--', 'summary', 'logs rock!');
run_output_matches_unordered( 'sd', [ 'log', 'LATEST' ],
[
- qr/^\d{4}-\d{2}-\d{2}.+ - $ENV{PROPHET_EMAIL} : \d+\@$ENV{PROPHET_REPO}$/,
+ qr/^\d{4}-\d{2}-\d{2}.+ - $ENV{PROPHET_EMAIL} : \d+\@\Q$ENV{PROPHET_REPO}\E$/,
qr/^ # Ticket \d+ \(logs rock!\)$/,
' + "original_replica" set to "'.$replica_uuid.'"',
' + "creator" set to "'.$ENV{PROPHET_EMAIL}.'"',
@@ -49,7 +49,7 @@ run_output_matches( 'sd', [ 'ticket',
# check the log
run_output_matches( 'sd', [ 'log', 'LATEST' ],
[
- qr/^\d{4}-\d{2}-\d{2}.+ - $ENV{PROPHET_EMAIL} : \d+\@$ENV{PROPHET_REPO}$/,
+ qr/^\d{4}-\d{2}-\d{2}.+ - $ENV{PROPHET_EMAIL} : \d+\@\Q$ENV{PROPHET_REPO}\E$/,
qr/^ # Ticket \d+ \(logs rock!\)$/,
' > "reporter" changed from "'.$ENV{PROPHET_EMAIL}.'" to "foo at bar.com".',
'',
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list