What steps will reproduce the problem?
1. On Windows, with CtCmd installed
2. make test TEST_FILE=r/stdouterr
What is the expected output?
What do you see instead?
W:\atcctest\ClearCase-Argv>nmake test TEST_FILE=r/stdouterr
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" r/stdouterr
1..10
ok 1 - system: ret code, stdout and stderr.
ok 2 - system: stderr ignored, stdout ok.
ok 3 - system: stdout ignored, stderr ok.
ok 4 - qx: stdout ignored, stderr ok.
ok 5 - qx: stderr ignored, stdout ok.
ClearCase::CtCmd: Error: Unable to access "/@@": No such file or directory.
.@@\main\cw\2
not ok 6 - system: ret code, stdout and stderr.
# Failed test 'system: ret code, stdout and stderr.'
# at r/stdouterr line 77.
.@@\main\cw\2
ok 7 - system: stderr ignored, stdout ok.
ClearCase::CtCmd: Error: Unable to access "/@@": No such file or directory.
ok 8 - system: stdout ignored, stderr ok.
ClearCase::CtCmd: Error: Unable to access "/@@": No such file or directory.
ok 9 - qx: stdout ignored, stderr ok.
not ok 10 - qx: stderr ignored, stdout ok.
# Failed test 'qx: stderr ignored, stdout ok.'
# at r/stdouterr line 111.
ClearCase::Argv Summary: Cmds Operands
cleartool des: 10 30
TOTAL: 10 30
# Looks like you failed 2 tests of 10.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2'
Stop.
Note that the test script itself fails, since stderr is displayed, and it
reports success (tests 7, 8, and 9)!
Same protocol, similar results with CtCmd not installed on unix (fork model).
Please use labels and text to provide additional information.
r173
Original issue reported on code.google.com by marc.girod on 8 Feb 2009 at 7:28
Original issue reported on code.google.com by
marc.girod
on 8 Feb 2009 at 7:28