hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Zhang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-130) Unit test TestBuiltin fails on line 477 in test case testShellFuncSingle on Windows
Date Fri, 29 Feb 2008 23:39:50 GMT

     [ https://issues.apache.org/jira/browse/PIG-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xu Zhang updated PIG-130:
-------------------------

    Description: 
Here is the results of running TestBuiltin on a Windows XP machine.  Is it because a new line
is interpreted differently on Linux and Windows?  

{noformat}
org.apache.pig.test.TestBuiltin.testShellFuncSingle


junit.framework.ComparisonFailure: null expected:<f00[]> but was:<f00[
]>
	at org.apache.pig.test.TestBuiltin.testShellFuncSingle(TestBuiltin.java:477)

Standard Output

f00

b00

0BB

1BB

2BB

3BB

4BB

5BB

6BB

7BB

8BB

9BB

10BB

11BB

12BB

13BB

14BB

15BB

16BB

17BB

18BB

.
.
.


{noformat}

  was:
Here is the results of running TestBuiltin on a Windows XP machine.  Is it because a new line
is interpreted differently on Linux and Windows?  

{noformat}
org.apache.pig.test.TestBuiltin.testShellFuncSingle


junit.framework.ComparisonFailure: null expected:<f00[]> but was:<f00[
]>
	at org.apache.pig.test.TestBuiltin.testShellFuncSingle(TestBuiltin.java:477)

Standard Output

f00

b00

0BB

1BB

2BB

3BB

4BB

5BB

6BB

7BB

8BB

9BB

10BB

11BB

12BB

13BB

14BB

15BB

16BB

17BB

18BB

19BB

20BB

21BB

22BB

23BB

24BB

25BB

26BB

27BB

28BB

29BB

30BB

31BB

32BB

33BB

34BB

35BB

36BB

37BB

38BB

39BB

40BB

41BB

42BB

43BB

44BB

45BB

46BB

47BB

48BB

49BB

50BB

51BB

52BB

53BB

54BB

55BB

56BB

57BB

58BB

59BB

60BB

61BB

62BB

63BB

64BB

65BB

66BB

67BB

68BB

69BB

70BB

71BB

72BB

73BB

74BB

75BB

76BB

77BB

78BB

79BB

80BB

81BB

82BB

83BB

84BB

85BB

86BB

87BB

88BB

89BB

90BB

91BB

92BB

93BB

94BB

95BB

96BB

97BB

98BB

99BB

0AA

1AA

2AA

3AA

4AA

5AA

6AA

7AA

8AA

9AA

10AA

11AA

12AA

13AA

14AA

15AA

16AA

17AA

18AA

19AA

20AA

21AA

22AA

23AA

24AA

25AA

26AA

27AA

28AA

29AA

30AA

31AA

32AA

33AA

34AA

35AA

36AA

37AA

38AA

39AA

40AA

41AA

42AA

43AA

44AA

45AA

46AA

47AA

48AA

49AA

50AA

51AA

52AA

53AA

54AA

55AA

56AA

57AA

58AA

59AA

60AA

61AA

62AA

63AA

64AA

65AA

66AA

67AA

68AA

69AA

70AA

71AA

72AA

73AA

74AA

75AA

76AA

77AA

78AA

79AA

80AA

81AA

82AA

83AA

84AA

85AA

86AA

87AA

88AA

89AA

90AA

91AA

92AA

93AA

94AA

95AA

96AA

97AA

98AA

99AA


{noformat}


> Unit test TestBuiltin fails on line 477 in test case testShellFuncSingle on Windows
> -----------------------------------------------------------------------------------
>
>                 Key: PIG-130
>                 URL: https://issues.apache.org/jira/browse/PIG-130
>             Project: Pig
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Xu Zhang
>
> Here is the results of running TestBuiltin on a Windows XP machine.  Is it because a
new line is interpreted differently on Linux and Windows?  
> {noformat}
> org.apache.pig.test.TestBuiltin.testShellFuncSingle
> junit.framework.ComparisonFailure: null expected:<f00[]> but was:<f00[
> ]>
> 	at org.apache.pig.test.TestBuiltin.testShellFuncSingle(TestBuiltin.java:477)
> Standard Output
> f00
> b00
> 0BB
> 1BB
> 2BB
> 3BB
> 4BB
> 5BB
> 6BB
> 7BB
> 8BB
> 9BB
> 10BB
> 11BB
> 12BB
> 13BB
> 14BB
> 15BB
> 16BB
> 17BB
> 18BB
> .
> .
> .
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message