Skip to content
This repository was archived by the owner on Dec 3, 2020. It is now read-only.
This repository was archived by the owner on Dec 3, 2020. It is now read-only.

Failures in running tests #6

Open
@ArchaB

Description

@ArchaB

Hi,

I am trying to port grin on Ubuntu 16.04 ppc64le VM.

The steps I followed were

git clone https://github.com/rkern/grin
pip install nose
cd grin/
nosetests

Build was successful, but 5 tests failed.

..............FF..FFF.
======================================================================
FAIL: test_file_recognizer.test_lack_of_permissions
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/grin/tests/test_file_recognizer.py", line 316, in test_lack_of_permissions
    assert fr.recognize('unreadable_file') == 'unreadable'
AssertionError

======================================================================
FAIL: test_file_recognizer.test_symlink_src_unreadable
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/grin/tests/test_file_recognizer.py", line 327, in test_symlink_src_unreadable
    assert fr.recognize('unreadable_file_link') == 'unreadable'
AssertionError

======================================================================
FAIL: test_file_recognizer.test_walking
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/grin/tests/test_file_recognizer.py", line 366, in test_walking
    assert result == truth
AssertionError

======================================================================
FAIL: test_file_recognizer.test_dot
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/grin/tests/test_file_recognizer.py", line 388, in test_dot
    assert result == truth
AssertionError

======================================================================
FAIL: test_file_recognizer.test_dot_dot
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/grin/tests/test_file_recognizer.py", line 411, in test_dot_dot
    assert result == truth
AssertionError

----------------------------------------------------------------------
Ran 22 tests in 0.045s

FAILED (failures=5)

Am I missing something?

Any pointer would be helpful.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions