summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-08-21 17:29:18 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-08-21 17:34:10 +0200
commit128cafae5f049af552f65baa26c0d9a728da2f3a (patch)
tree5c6d17e4ca2dba547eeb2dd55ccbc6626e86a89b /test
parentf0281e8d9d5731849f2b1a6eed49e4ce9fd4e2d0 (diff)
fcSpex == 0xffffffff means no offset
Diffstat (limited to 'test')
-rw-r--r--test/doc/pass/abi1876-4.docbin0 -> 51712 bytes
-rwxr-xr-xtest/doc/test.py9
2 files changed, 9 insertions, 0 deletions
diff --git a/test/doc/pass/abi1876-4.doc b/test/doc/pass/abi1876-4.doc
new file mode 100644
index 0000000..fda3b49
--- /dev/null
+++ b/test/doc/pass/abi1876-4.doc
Binary files differ
diff --git a/test/doc/test.py b/test/doc/test.py
index c6f71d7..03eb87e 100755
--- a/test/doc/test.py
+++ b/test/doc/test.py
@@ -46,6 +46,15 @@ class Test(unittest.TestCase):
def getHex(self, num):
return int(num, 16)
+ def test_pass(self):
+ """This test just makes sure that all files in the 'pass' directory are
+ dumped without problems."""
+
+ for dirname, dirnames, filenames in os.walk('pass'):
+ for filename in filenames:
+ if filename.endswith(".doc"):
+ self.dump(os.path.join(dirname, filename).replace('.doc', ''))
+
def test_hello(self):
self.dump('hello')