« Bugzilla Issues Index
#443 — Packager fails if .DS_Store file is present on Mac
- bug_id:
443
- creation_ts:
2012-07-04 13:29:00 -0700
- short_desc:
Packager fails if .DS_Store file is present on Mac
- delta_ts:
2013-01-09 21:02:12 -0800
- product:
Test262
- component:
Test Harness
- version:
unspecified
- rep_platform:
All
- op_sys:
Mac OS
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
major
- everconfirmed:
true
- reporter:
Norbert
- assigned_to:
Norbert
- commentid:
1099
- comment_count:
0
- who:
Norbert
- bug_when:
2012-07-04 13:29:49 -0700
The Mac Finder creates a .DS_Store file in every directory that it opens. The packager.py script fails if such a file is present in the test/suite directory.
- commentid:
1100
- comment_count:
1
- who:
Norbert
- bug_when:
2012-07-04 13:32:29 -0700
Proposed fix:
@@ -171,6 +171,10 @@
print "The expected ES5 test directory,", temp, "did not exist!"
sys.exit(1)
+ if temp.find("/.") != -1:
+ # skip hidden files on Unix, such as ".DS_Store" on Mac
+ continue
+
if not ONE_JSON_PER_CHAPTER:
dirWalker(temp)
else:
- commentid:
3116
- comment_count:
2
- who:
Norbert
- bug_when:
2013-01-09 21:02:12 -0800
Fixed back in July 2012.