Skip to content

(#20072) Redirect stderr to the correct null device on windows#420

Merged
joshcooper merged 1 commit intopuppetlabs:1.7.xfrom
haus:ticket/1.7.x/20072_fix_virt_what_redirection
Apr 5, 2013
Merged

(#20072) Redirect stderr to the correct null device on windows#420
joshcooper merged 1 commit intopuppetlabs:1.7.xfrom
haus:ticket/1.7.x/20072_fix_virt_what_redirection

Conversation

@haus
Copy link

@haus haus commented Apr 5, 2013

Previously the virt_what method redirected stderr to /dev/null, which fails on
windows. This commit adds a case for windows where the stderr is redirected to
NUL, the windows null device. It also adds tests to ensure this behavior.

Previously the virt_what method redirected stderr to /dev/null, which fails on
windows. This commit adds a case for windows where the stderr is redirected to
NUL, the windows null device. It also adds tests to ensure this behavior.
@puppetcla
Copy link

CLA Signed by haus on 2011-07-19 21:00:00 -0700

@joshcooper joshcooper merged commit 0c1fb74 into puppetlabs:1.7.x Apr 5, 2013
@jeffmccune
Copy link

summary: Merged into 1.7.x in commit 18adb84 and released in Facter 1.7.0-rc2

florindragos pushed a commit that referenced this pull request Jun 15, 2020
* (FACt-2498) Load fact from the lowest level of hierarchy first and skip them if they are already loaded. LoadedFacts that are created from aliases or from wilecard facts will have type :legacy.
* (FACT-2498) Rubocop fixes.
* (FACT-2498) Refactor tests to be compliant with rspec best practices.
* (FACT-2498) Add test for creation of LoadedFacts with :legacy and :core types.
* (FACT-2498) Add test for wildcard facts.
* (FACT-2498) Refactor skipping of already loaded facts.
* (FACT-2498) Fix typo.
* (FACT-2498) Move class_discoverer_mock in let.
* (FACT-2498) Add test to check if legacy fact is a wildcard fact.
* (FACT-2498) Extract InternalFactLoader in subject.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants