Closed Bug 271373 Opened 20 years ago Closed 20 years ago

Bogus t/008filter.t error on Win32

Categories

(Bugzilla :: Testing Suite, defect)

2.19
All
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: Wurblzap, Assigned: Wurblzap)

Details

Attachments

(1 file, 1 obsolete file)

On Win32, t/008filter.t fails when checking sidebar.xul.tmpl. The reason is that
filter exceptions for files not containing a slash in their name are forgotten
in the Win32-specific part of t/008filter.t that converts slashes to backslashes.
Attached patch Patch (obsolete) — Splinter Review
Status: NEW → ASSIGNED
Flags: blocking2.20?
Flags: blocking2.18?
Attachment #166844 - Flags: review?
Comment on attachment 166844 [details] [diff] [review]
Patch

yup, looks good.
Attachment #166844 - Flags: review? → review+
Flags: blocking2.20?
Flags: blocking2.18?
Flags: approval?
Flags: approval2.18?
Flags: approval?
Flags: approval2.18?
Target Milestone: --- → Bugzilla 2.18
Comment on attachment 166844 [details] [diff] [review]
Patch

Gerv wrote this originally I think, and I'm not quite following what's going on
here...   just want Gerv to double-check it.
Attachment #166844 - Flags: review?(gerv)
I didn't write the Win32-specific bit. This fix looks fine, but the reason for
the  next is a bit subtle. I'd prefer:

if ($file ne $orig_file) {
  delete $safe{$orig_file};
}

which is much more self-documenting.

Gerv
Attached patch Patch 1.2Splinter Review
I made that

if ($file ne $orig_file) {
  $safe{$file} = $safe{$orig_file};
  delete $safe{$orig_file};
}
Attachment #166844 - Attachment is obsolete: true
Comment on attachment 168008 [details] [diff] [review]
Patch 1.2

I'm unsure whether to move the r+ forward or not...
Attachment #168008 - Flags: review?
Comment on attachment 168008 [details] [diff] [review]
Patch 1.2

r=glob
Attachment #168008 - Flags: review? → review+
Flags: approval?
Flags: approval2.18?
Attachment #166844 - Flags: review?(gerv)
Flags: approval?
Flags: approval2.18?
Flags: approval2.18+
Flags: approval+
Checking in t/008filter.t;
/cvsroot/mozilla/webtools/bugzilla/t/008filter.t,v  <--  008filter.t
new revision: 1.17; previous revision: 1.16
done

Checking in t/008filter.t;
/cvsroot/mozilla/webtools/bugzilla/t/008filter.t,v  <--  008filter.t
new revision: 1.12.2.1; previous revision: 1.12
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: