Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3 Unittests for shunit2 fail on IBM AIX 6.1 #33

Closed
GoogleCodeExporter opened this issue Jun 26, 2015 · 2 comments
Closed

3 Unittests for shunit2 fail on IBM AIX 6.1 #33

GoogleCodeExporter opened this issue Jun 26, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Running the provided test suite ends up in the following:
---SNIP---
#------------------------------------------------------------------------------
# System data
#

# test run info
shells: /bin/sh /bin/bash /bin/dash /bin/ksh /bin/pdksh /bin/zsh
tests:  shunit2_test_asserts.sh shunit2_test_failures.sh shunit2_test_macros.sh 
shunit2_test_misc.sh shunit2_test_standalone.sh

# system info
$ date
Fri Mar 23 09:43:40 NFT 2012

$ uname -mprsv
AIX 1 6 00F6C8B24C00 powerpc


#------------------------------------------------------------------------------
# Running the test suite with /bin/sh
#
shell name: sh
shell version: unknown

--- Executing the 'asserts' test suite ---
testAssertEquals
testAssertNotEquals
testAssertSame
testAssertNotSame
testAssertNull
testAssertNotNull
testAssertTrue
testAssertFalse

Ran 8 tests.

OK

--- Executing the 'failures' test suite ---
testFail
testFailNotEquals
testFailSame

Ran 3 tests.

OK

--- Executing the 'macros' test suite ---
testAssertEquals
testAssertNotEquals
testSame
testNotSame
testNull
testNotNull
testAssertTrue
testAssertFalse
testFail
testFailNotEquals
testFailSame
testFailNotSame

Ran 12 tests.

OK

--- Executing the 'misc' test suite ---
testUnboundVariable
ASSERT:assert message was not generated
ASSERT:test count message was not generated
ASSERT:failure message was not generated
testIssue7
testPrepForSourcing
testEscapeCharInStr
testEscapeCharInStr_specialChars
testExtractTestFunctions

Ran 6 tests.

FAILED (failures=3)

--- Executing the 'standalone' test suite ---
testStandalone

Ran 1 test.

OK


#------------------------------------------------------------------------------
# Running the test suite with /bin/bash
#
shell name: bash
shell version: 4.1.7(1)-release

--- Executing the 'asserts' test suite ---
testAssertEquals
testAssertNotEquals
testAssertSame
testAssertNotSame
testAssertNull
testAssertNotNull
testAssertTrue
testAssertFalse

Ran 8 tests.

OK

--- Executing the 'failures' test suite ---
testFail
testFailNotEquals
testFailSame

Ran 3 tests.

OK

--- Executing the 'macros' test suite ---
testAssertEquals
testAssertNotEquals
testSame
testNotSame
testNull
testNotNull
testAssertTrue
testAssertFalse
testFail
testFailNotEquals
testFailSame
testFailNotSame

Ran 12 tests.

OK

--- Executing the 'misc' test suite ---
testUnboundVariable
ASSERT:assert message was not generated
ASSERT:test count message was not generated
ASSERT:failure message was not generated
testIssue7
testPrepForSourcing
testEscapeCharInStr
testEscapeCharInStr_specialChars
testExtractTestFunctions

Ran 6 tests.

FAILED (failures=3)

--- Executing the 'standalone' test suite ---
testStandalone

Ran 1 test.

OK

shunit2_test.sh:WARN unable to run tests with the /bin/dash shell


#------------------------------------------------------------------------------
# Running the test suite with /bin/ksh
#
shell name: ksh
shell version: --version: 0403-010 A specified flag is not valid for this 
command.

--- Executing the 'asserts' test suite ---
testAssertEquals
testAssertNotEquals
testAssertSame
testAssertNotSame
testAssertNull
testAssertNotNull
testAssertTrue
testAssertFalse

Ran 8 tests.

OK

--- Executing the 'failures' test suite ---
testFail
testFailNotEquals
testFailSame

Ran 3 tests.

OK

--- Executing the 'macros' test suite ---
testAssertEquals
testAssertNotEquals
testSame
testNotSame
testNull
testNotNull
testAssertTrue
testAssertFalse
testFail
testFailNotEquals
testFailSame
testFailNotSame

Ran 12 tests.

OK

--- Executing the 'misc' test suite ---
testUnboundVariable
ASSERT:assert message was not generated
ASSERT:test count message was not generated
ASSERT:failure message was not generated
testIssue7
testPrepForSourcing
testEscapeCharInStr
testEscapeCharInStr_specialChars
testExtractTestFunctions

Ran 6 tests.

FAILED (failures=3)

--- Executing the 'standalone' test suite ---
testStandalone

Ran 1 test.

OK

shunit2_test.sh:WARN unable to run tests with the /bin/pdksh shell

shunit2_test.sh:WARN unable to run tests with the /bin/zsh shell
---SNAP---

Output of ./lib/versions:
---SNIP---
os: unrecognized version: unrecognized
shell: /bin/bash version: 4.1.7(1)-release
shell: /bin/dash version: not installed
shell: /bin/ksh version: --version: 0403-010 A specified flag is not valid for 
this command.
shell: /bin/pdksh version: not installed
shell: /bin/sh version: unknown
shell: /bin/zsh version: not installed
---SNAP---

OS: IBM AIX 6.1

shunit2-version: 2.1.6

Original issue reported on code.google.com by michael....@s-itsolutions.at on 23 Mar 2012 at 8:57

@GoogleCodeExporter
Copy link
Author

To fix lib/versions, could you provide me with the following?
$ uname -s
$ uname -r

I don't have access to an AIX machine, so I'll need some help fixing the broken 
tests. Could you run the test manually like this and paste the full output?
$ ksh -x src/shunit2_test_misc.sh

Original comment by kate.w...@forestent.com on 20 May 2013 at 6:32

  • Changed state: Accepted

@kward
Copy link
Owner

kward commented Sep 25, 2017

As I still have no access to an AIX machine, I'm closing this issue.

@kward kward closed this as completed Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants