[SERVER-7492] jstests should not use /dev/null when running on Windows Created: 27/Oct/12  Updated: 11/Jul/16  Resolved: 27/Oct/12

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 2.3.0
Fix Version/s: 2.3.1

Type: Bug Priority: Major - P3
Reporter: Tad Marshall Assignee: Tad Marshall
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows build slave


Backwards Compatibility: Fully Compatible
Operating System: Windows
Participants:

 Description   

Some tests set logpath to "/dev/null". On Windows, they should use "NUL".



 Comments   
Comment by auto [ 29/Oct/12 ]

Author:

{u'date': u'2012-10-28T17:14:48-07:00', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-7492 use --logappend in jstests/slowNightly/sync6_slow.js

The code isn't smart about reserved Windows filenames and tries to
rotate the "log file" NUL. Workaround this by using --logappend so the
rename step is skipped.
Branch: master
https://github.com/mongodb/mongo/commit/1bd2fc12ef9de5b705dc1d127d02c397441c77e8

Comment by auto [ 27/Oct/12 ]

Author:

{u'date': u'2012-10-27T08:54:53-07:00', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}

Message: SERVER-7492 use NUL instead of /dev/null in tests on Windows
Branch: master
https://github.com/mongodb/mongo/commit/5a1ae683a3ae94a9d716a1d0870e5552d114691f

Generated at Thu Feb 08 03:14:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.