diff options
author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-19 23:55:53 +0000 |
---|---|---|
committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-19 23:55:53 +0000 |
commit | f5397d936f5dc85813d1d6d50cf5f7d6ba9716c8 (patch) | |
tree | 454aac54d3af7df3430b2eeec268c97ca99f4250 | |
parent | 7433f78f76c509f7253fca4a44fb1867dbbb4092 (diff) | |
download | python-dmidecode-f5397d936f5dc85813d1d6d50cf5f7d6ba9716c8.tar.gz python-dmidecode-f5397d936f5dc85813d1d6d50cf5f7d6ba9716c8.tar.xz python-dmidecode-f5397d936f5dc85813d1d6d50cf5f7d6ba9716c8.zip |
Further testing shows that the segfault does not occur when the device is
/dev/mem, but does so for all images (where requested type is 127), suggesting
that the problem could be with the image or surrounding processes.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@132 abc39116-655e-4be6-ad55-d661dc543056
-rwxr-xr-x | test.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,9 +43,9 @@ random.shuffle(sections) total = 0 success = 0 for dev in devices: - sys.stdout.write(" * Testing %s..."%dmidecode.get_dev()); sys.stdout.flush() + sys.stdout.write(" * Testing %s..."%dev); sys.stdout.flush() total += 1 - if dmidecode.set_dev(dev): + if dmidecode.set_dev(dev) and dmidecode.get_dev() == dev: success += 1 sys.stdout.write("...\n") for i in types: |