re-import sources as agreed with the maintainer
This commit is contained in:
parent
687ebd4347
commit
5c70f0cc55
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
SOURCES/python-dmidecode-3.12.3.tar.gz
|
||||
/python-dmidecode-3.12.3.tar.gz
|
||||
python-dmidecode-3.10.13.tar.gz
|
||||
python-dmidecode-3.10.13.tar.xz
|
||||
/python-dmidecode-3.12.2.tar.gz
|
||||
|
66
tests/selftest/Makefile
Normal file
66
tests/selftest/Makefile
Normal file
@ -0,0 +1,66 @@
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Makefile of
|
||||
# Description: Test for bz497830 ('df' doesn't wait for automount with indirect maps)
|
||||
# Author: Jan Scotka <jscotka@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2009 Red Hat, Inc. All rights reserved.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing
|
||||
# to use, modify, copy, or redistribute it subject to the terms
|
||||
# and conditions of the GNU General Public License version 2.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
export TEST=/CoreOS/python3-dmidecode/Sanity/selftest
|
||||
export TESTVERSION=1.3
|
||||
|
||||
BUILT_FILES=
|
||||
|
||||
FILES=$(METADATA) runtest.sh Makefile PURPOSE unit-tests.tar.gz dump.dat
|
||||
|
||||
.PHONY: all install download clean
|
||||
|
||||
run: $(FILES) build
|
||||
./runtest.sh
|
||||
|
||||
build: $(BUILT_FILES)
|
||||
chmod a+x runtest.sh
|
||||
|
||||
clean:
|
||||
rm -f *~ $(BUILT_FILES)
|
||||
|
||||
|
||||
include /usr/share/rhts/lib/rhts-make.include
|
||||
|
||||
$(METADATA): Makefile
|
||||
@echo "Owner: Jan Scotka <jscotka@redhat.com>" > $(METADATA)
|
||||
@echo "Name: $(TEST)" >> $(METADATA)
|
||||
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||
@echo "Description: basic test of python3-dmidecode for x86_64 arch" >> $(METADATA)
|
||||
@echo "Type: Sanity" >> $(METADATA)
|
||||
@echo "TestTime: 5m" >> $(METADATA)
|
||||
@echo "RunFor: python3-dmidecode" >> $(METADATA)
|
||||
@echo "Requires: python3-dmidecode" >> $(METADATA)
|
||||
@echo "Requires: python36" >> $(METADATA)
|
||||
@echo "Priority: Normal" >> $(METADATA)
|
||||
@echo "License: GPLv2" >> $(METADATA)
|
||||
@echo "Confidential: no" >> $(METADATA)
|
||||
@echo "Destructive: no" >> $(METADATA)
|
||||
@echo "Bug: 546220" >> $(METADATA)
|
||||
|
||||
rhts-lint $(METADATA)
|
||||
|
3
tests/selftest/PURPOSE
Normal file
3
tests/selftest/PURPOSE
Normal file
@ -0,0 +1,3 @@
|
||||
PURPOSE of /CoreOS/python3-dmidecode/Sanity/selftest
|
||||
Description: basic testing of package python3 dmidecode.
|
||||
Author: Petr Sklenar <psklenar@redhat.com>
|
113
tests/selftest/dump.dat
Normal file
113
tests/selftest/dump.dat
Normal file
@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang='en'>
|
||||
<head>
|
||||
<title>dump.dat\basicsanity\Sanity - tests/python-dmidecode - python-dmidecode</title>
|
||||
<meta name='generator' content='cgit v1.0'/>
|
||||
<meta name='robots' content='index, nofollow'/>
|
||||
<link rel='stylesheet' type='text/css' href='/cgit-data/cgit.css'/>
|
||||
<link rel='shortcut icon' href='/favicon.ico'/>
|
||||
<link rel='alternate' title='Atom feed' href='http://pkgs.devel.redhat.com/cgit/tests/python-dmidecode/atom/Sanity/basicsanity/dump.dat?h=master' type='application/atom+xml'/>
|
||||
<link rel='vcs-git' href='git://pkgs.devel.redhat.com/tests/python-dmidecode' title='tests/python-dmidecode Git repository'/>
|
||||
<link rel='vcs-git' href='ssh://pkgs.devel.redhat.com/tests/python-dmidecode' title='tests/python-dmidecode Git repository'/>
|
||||
</head>
|
||||
<body>
|
||||
<div id='cgit'><table id='header'>
|
||||
<tr>
|
||||
<td class='logo' rowspan='2'><a href='/cgit/'><img src='/cgit-data/cgit.png' alt='cgit logo'/></a></td>
|
||||
<td class='main'><a href='/cgit/'>index</a> : <a title='tests/python-dmidecode' href='/cgit/tests/python-dmidecode/'>tests/python-dmidecode</a></td><td class='form'><form method='get'>
|
||||
<select name='h' onchange='this.form.submit();'>
|
||||
<option value='master' selected='selected'>master</option>
|
||||
</select> <input type='submit' value='switch'/></form></td></tr>
|
||||
<tr><td class='sub'>python-dmidecode</td><td class='sub right'>cgit workaround</td></tr></table>
|
||||
<table class='tabs'><tr><td>
|
||||
<a href='/cgit/tests/python-dmidecode/'>summary</a><a href='/cgit/tests/python-dmidecode/refs/'>refs</a><a href='/cgit/tests/python-dmidecode/log/Sanity/basicsanity/dump.dat'>log</a><a class='active' href='/cgit/tests/python-dmidecode/tree/Sanity/basicsanity/dump.dat'>tree</a><a href='/cgit/tests/python-dmidecode/commit/Sanity/basicsanity/dump.dat'>commit</a><a href='/cgit/tests/python-dmidecode/diff/Sanity/basicsanity/dump.dat'>diff</a><a href='/cgit/tests/python-dmidecode/stats/Sanity/basicsanity/dump.dat'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit/tests/python-dmidecode/log/Sanity/basicsanity/dump.dat'>
|
||||
<select name='qt'>
|
||||
<option value='grep'>log msg</option>
|
||||
<option value='author'>author</option>
|
||||
<option value='committer'>committer</option>
|
||||
<option value='range'>range</option>
|
||||
</select>
|
||||
<input class='txt' type='text' size='10' name='q' value=''/>
|
||||
<input type='submit' value='search'/>
|
||||
</form>
|
||||
</td></tr></table>
|
||||
<div class='path'>path: <a href='/cgit/tests/python-dmidecode/tree/'>root</a>/<a href='/cgit/tests/python-dmidecode/tree/Sanity'>Sanity</a>/<a href='/cgit/tests/python-dmidecode/tree/Sanity/basicsanity'>basicsanity</a>/<a href='/cgit/tests/python-dmidecode/tree/Sanity/basicsanity/dump.dat'>dump.dat</a></div><div class='content'>blob: 68ae675053c049ecf1fdee81ab1de12c44506e58 (<a href='/cgit/tests/python-dmidecode/plain/Sanity/basicsanity/dump.dat'>plain</a>)
|
||||
<table summary='blob content' class='bin-blob'>
|
||||
<tr><th>ofs</th><th>hex dump</th><th>ascii</th></tr><tr><td class='right'>0000</td><td class='hex'> 5f 53 4d 5f 0f 1f 02 05 6d 00 00 00 00 00 00 00 5f 44 4d 49 5f 04 cd 08 20 00 00 00 4a 00 25 00 </td><td class='hex'>_SM_....m......._DMI_.......J.%.</td></tr>
|
||||
<tr><td class='right'>0020</td><td class='hex'> 00 18 01 00 01 02 00 e0 03 0f 80 9a e9 3d 03 00 00 00 33 07 02 23 ff ff 48 65 77 6c 65 74 74 2d </td><td class='hex'>.............=....3..#..Hewlett-</td></tr>
|
||||
<tr><td class='right'>0040</td><td class='hex'> 50 61 63 6b 61 72 64 00 37 38 36 44 34 20 76 30 32 2e 33 35 00 31 31 2f 32 35 2f 32 30 30 38 00 </td><td class='hex'>Packard.786D4.v02.35.11/25/2008.</td></tr>
|
||||
<tr><td class='right'>0060</td><td class='hex'> 00 01 1b 02 00 01 02 03 04 b1 ad 35 56 43 10 dc 11 bb da bb 49 7d 5a 00 19 06 05 06 48 65 77 6c </td><td class='hex'>...........5VC......I}Z.....Hewl</td></tr>
|
||||
<tr><td class='right'>0080</td><td class='hex'> 65 74 74 2d 50 61 63 6b 61 72 64 00 48 50 20 78 77 36 34 30 30 20 57 6f 72 6b 73 74 61 74 69 6f </td><td class='hex'>ett-Packard.HP.xw6400.Workstatio</td></tr>
|
||||
<tr><td class='right'>00a0</td><td class='hex'> 6e 00 20 00 4e 4f 53 45 52 49 41 4c 4e 55 4d 42 45 52 30 30 30 31 00 45 52 32 33 36 41 56 00 31 </td><td class='hex'>n...NOSERIALNUMBER0001.ER236AV.1</td></tr>
|
||||
<tr><td class='right'>00c0</td><td class='hex'> 30 33 43 5f 35 33 33 33 35 58 00 00 02 08 03 00 01 02 03 04 48 65 77 6c 65 74 74 2d 50 61 63 6b </td><td class='hex'>03C_53335X..........Hewlett-Pack</td></tr>
|
||||
<tr><td class='right'>00e0</td><td class='hex'> 61 72 64 00 30 41 30 34 68 00 4e 41 00 4e 4f 53 45 52 49 41 4c 4e 55 4d 42 45 52 30 30 30 31 00 </td><td class='hex'>ard.0A04h.NA.NOSERIALNUMBER0001.</td></tr>
|
||||
<tr><td class='right'>0100</td><td class='hex'> 00 03 11 04 00 01 06 00 02 03 03 03 03 02 00 00 00 00 48 65 77 6c 65 74 74 2d 50 61 63 6b 61 72 </td><td class='hex'>..................Hewlett-Packar</td></tr>
|
||||
<tr><td class='right'>0120</td><td class='hex'> 64 00 4e 4f 53 45 52 49 41 4c 4e 55 4d 42 45 52 30 30 30 31 00 20 00 00 04 28 05 00 01 03 b3 02 </td><td class='hex'>d.NOSERIALNUMBER0001.....(......</td></tr>
|
||||
<tr><td class='right'>0140</td><td class='hex'> f4 06 00 00 ff fb eb bf 03 8c 2a 04 70 17 4a 07 41 15 07 00 08 00 ff ff 00 00 00 02 02 02 04 00 </td><td class='hex'>..........*.p.J.A...............</td></tr>
|
||||
<tr><td class='right'>0160</td><td class='hex'> 58 55 31 20 50 52 4f 43 45 53 53 4f 52 00 49 6e 74 65 6c 00 47 65 6e 75 69 6e 65 20 49 6e 74 65 </td><td class='hex'>XU1.PROCESSOR.Intel.Genuine.Inte</td></tr>
|
||||
<tr><td class='right'>0180</td><td class='hex'> 6c 28 52 29 20 43 50 55 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 40 20 31 2e 38 36 </td><td class='hex'>l(R).CPU..................@.1.86</td></tr>
|
||||
<tr><td class='right'>01a0</td><td class='hex'> 47 48 7a 00 00 04 28 06 00 01 03 b3 02 f4 06 00 00 ff fb eb bf 03 8c 2a 04 70 17 4a 07 41 15 09 </td><td class='hex'>GHz...(................*.p.J.A..</td></tr>
|
||||
<tr><td class='right'>01c0</td><td class='hex'> 00 0a 00 ff ff 00 00 00 02 02 02 04 00 58 55 32 20 50 52 4f 43 45 53 53 4f 52 00 49 6e 74 65 6c </td><td class='hex'>.............XU2.PROCESSOR.Intel</td></tr>
|
||||
<tr><td class='right'>01e0</td><td class='hex'> 00 47 65 6e 75 69 6e 65 20 49 6e 74 65 6c 28 52 29 20 43 50 55 20 20 20 20 20 20 20 20 20 20 20 </td><td class='hex'>.Genuine.Intel(R).CPU...........</td></tr>
|
||||
<tr><td class='right'>0200</td><td class='hex'> 20 20 20 20 20 20 20 40 20 31 2e 38 36 47 48 7a 00 00 07 13 07 00 01 80 00 80 00 80 00 08 00 08 </td><td class='hex'>.......@.1.86GHz................</td></tr>
|
||||
<tr><td class='right'>0220</td><td class='hex'> 00 00 04 04 07 4c 31 20 43 61 63 68 65 00 00 07 13 08 00 01 81 01 00 10 00 10 08 00 08 00 00 05 </td><td class='hex'>.....L1.Cache...................</td></tr>
|
||||
<tr><td class='right'>0240</td><td class='hex'> 05 08 4c 32 20 43 61 63 68 65 00 00 07 13 09 00 01 80 00 80 00 80 00 08 00 08 00 00 04 04 07 4c </td><td class='hex'>..L2.Cache.....................L</td></tr>
|
||||
<tr><td class='right'>0260</td><td class='hex'> 31 20 43 61 63 68 65 00 00 07 13 0a 00 01 81 01 00 10 00 10 08 00 08 00 00 05 05 08 4c 32 20 43 </td><td class='hex'>1.Cache.....................L2.C</td></tr>
|
||||
<tr><td class='right'>0280</td><td class='hex'> 61 63 68 65 00 00 08 09 0b 00 01 22 00 00 20 53 41 54 41 30 00 00 08 09 0c 00 01 22 00 00 20 53 </td><td class='hex'>ache......."...SATA0......."...S</td></tr>
|
||||
<tr><td class='right'>02a0</td><td class='hex'> 41 54 41 31 00 00 08 09 0d 00 01 22 00 00 20 53 41 54 41 32 00 00 08 09 0e 00 01 22 00 00 20 53 </td><td class='hex'>ATA1......."...SATA2......."...S</td></tr>
|
||||
<tr><td class='right'>02c0</td><td class='hex'> 41 54 41 33 00 00 08 09 0f 00 01 22 00 00 20 53 41 54 41 34 00 00 08 09 10 00 01 00 02 08 09 53 </td><td class='hex'>ATA3......."...SATA4...........S</td></tr>
|
||||
<tr><td class='right'>02e0</td><td class='hex'> 45 52 49 41 4c 20 41 00 43 4f 4d 20 41 00 00 08 09 11 00 00 00 01 05 05 50 41 52 41 4c 4c 45 4c </td><td class='hex'>ERIAL.A.COM.A...........PARALLEL</td></tr>
|
||||
<tr><td class='right'>0300</td><td class='hex'> 00 00 08 09 12 00 00 00 01 12 10 55 53 42 20 31 00 00 08 09 13 00 00 00 01 12 10 55 53 42 20 32 </td><td class='hex'>...........USB.1...........USB.2</td></tr>
|
||||
<tr><td class='right'>0320</td><td class='hex'> 00 00 08 09 14 00 00 00 01 12 10 55 53 42 20 33 00 00 08 09 15 00 00 00 01 12 10 55 53 42 20 34 </td><td class='hex'>...........USB.3...........USB.4</td></tr>
|
||||
<tr><td class='right'>0340</td><td class='hex'> 00 00 08 09 16 00 00 00 01 12 10 55 53 42 20 35 00 00 08 09 17 00 01 00 02 12 10 49 4e 54 45 52 </td><td class='hex'>...........USB.5...........INTER</td></tr>
|
||||
<tr><td class='right'>0360</td><td class='hex'> 4e 41 4c 20 55 53 42 00 55 53 42 20 36 00 00 08 09 18 00 01 ff 02 12 10 46 52 4f 4e 54 20 55 53 </td><td class='hex'>NAL.USB.USB.6...........FRONT.US</td></tr>
|
||||
<tr><td class='right'>0380</td><td class='hex'> 42 20 31 00 55 53 42 20 37 00 00 08 09 19 00 01 ff 02 12 10 46 52 4f 4e 54 20 55 53 42 20 32 00 </td><td class='hex'>B.1.USB.7...........FRONT.USB.2.</td></tr>
|
||||
<tr><td class='right'>03a0</td><td class='hex'> 55 53 42 20 38 00 00 08 09 1a 00 00 00 01 0f 0d 4b 45 59 42 4f 41 52 44 00 00 08 09 1b 00 00 00 </td><td class='hex'>USB.8...........KEYBOARD........</td></tr>
|
||||
<tr><td class='right'>03c0</td><td class='hex'> 01 0f 0e 4d 4f 55 53 45 00 00 08 09 1c 00 00 00 01 0d 1d 52 45 41 52 20 4d 49 43 00 00 08 09 1d </td><td class='hex'>...MOUSE...........REAR.MIC.....</td></tr>
|
||||
<tr><td class='right'>03e0</td><td class='hex'> 00 00 00 01 0d 1d 52 45 41 52 20 4c 49 4e 45 20 49 4e 00 00 08 09 1e 00 00 00 01 0d 1d 52 45 41 </td><td class='hex'>......REAR.LINE.IN...........REA</td></tr>
|
||||
<tr><td class='right'>0400</td><td class='hex'> 52 20 48 45 41 44 50 48 4f 4e 45 2f 4c 49 4e 45 4f 55 54 00 00 08 09 1f 00 00 00 01 0b 1f 52 4a </td><td class='hex'>R.HEADPHONE/LINEOUT...........RJ</td></tr>
|
||||
<tr><td class='right'>0420</td><td class='hex'> 34 35 00 00 08 09 20 00 01 ff 00 00 ff 43 50 55 20 46 41 4e 20 30 00 00 08 09 21 00 01 ff 00 00 </td><td class='hex'>45...........CPU.FAN.0....!.....</td></tr>
|
||||
<tr><td class='right'>0440</td><td class='hex'> ff 43 50 55 20 46 41 4e 20 31 00 00 08 09 22 00 01 1c 00 00 1d 43 44 2d 49 4e 00 00 08 09 23 00 </td><td class='hex'>.CPU.FAN.1...."......CD-IN....#.</td></tr>
|
||||
<tr><td class='right'>0460</td><td class='hex'> 01 1c 00 00 1d 41 55 58 2d 49 4e 00 00 08 09 24 00 01 16 00 00 00 49 44 45 00 00 08 09 25 00 01 </td><td class='hex'>.....AUX-IN....$......IDE....%..</td></tr>
|
||||
<tr><td class='right'>0480</td><td class='hex'> 17 00 00 00 46 44 44 00 00 08 09 26 00 01 ff 02 0d 1d 46 52 4f 4e 54 20 41 55 44 49 4f 00 46 52 </td><td class='hex'>....FDD....&......FRONT.AUDIO.FR</td></tr>
|
||||
<tr><td class='right'>04a0</td><td class='hex'> 4f 4e 54 20 48 45 41 44 50 48 4f 4e 45 2f 4c 49 4e 45 4f 55 54 20 26 20 4d 49 43 00 00 08 09 27 </td><td class='hex'>ONT.HEADPHONE/LINEOUT.&.MIC....'</td></tr>
|
||||
<tr><td class='right'>04c0</td><td class='hex'> 00 01 ff 00 00 ff 53 59 53 20 46 41 4e 00 00 08 09 28 00 01 ff 00 00 ff 4d 45 4d 4f 52 59 20 46 </td><td class='hex'>......SYS.FAN....(......MEMORY.F</td></tr>
|
||||
<tr><td class='right'>04e0</td><td class='hex'> 41 4e 00 00 08 09 29 00 01 ff 00 00 ff 53 50 45 41 4b 45 52 20 28 53 50 4b 29 00 00 08 09 2a 00 </td><td class='hex'>AN....)......SPEAKER.(SPK)....*.</td></tr>
|
||||
<tr><td class='right'>0500</td><td class='hex'> 01 ff 00 00 ff 50 41 53 53 57 4f 52 44 20 43 4c 45 41 52 20 28 50 53 57 44 20 45 34 39 29 00 00 </td><td class='hex'>.....PASSWORD.CLEAR.(PSWD.E49)..</td></tr>
|
||||
<tr><td class='right'>0520</td><td class='hex'> 08 09 2b 00 01 ff 00 00 ff 48 4f 4f 44 20 53 45 4e 53 45 20 28 48 44 20 53 45 4e 53 45 29 00 00 </td><td class='hex'>..+......HOOD.SENSE.(HD.SENSE)..</td></tr>
|
||||
<tr><td class='right'>0540</td><td class='hex'> 08 09 2c 00 01 ff 00 00 ff 48 4f 4f 44 20 4c 4f 43 4b 00 00 08 09 2d 00 01 ff 00 00 ff 53 45 43 </td><td class='hex'>..,......HOOD.LOCK....-......SEC</td></tr>
|
||||
<tr><td class='right'>0560</td><td class='hex'> 55 52 49 54 59 00 00 08 09 2e 00 01 ff 00 00 ff 50 43 49 20 46 41 4e 00 00 09 0d 2f 00 01 a5 0d </td><td class='hex'>URITY...........PCI.FAN..../....</td></tr>
|
||||
<tr><td class='right'>0580</td><td class='hex'> 04 04 01 00 04 05 53 4c 4f 54 20 31 20 50 43 49 65 20 78 31 36 00 00 09 0d 30 00 01 a5 0a 03 04 </td><td class='hex'>......SLOT.1.PCIe.x16....0......</td></tr>
|
||||
<tr><td class='right'>05a0</td><td class='hex'> 02 00 04 05 53 4c 4f 54 20 32 20 50 43 49 65 20 78 38 20 28 34 29 00 00 09 0d 31 00 01 a5 0a 03 </td><td class='hex'>....SLOT.2.PCIe.x8.(4)....1.....</td></tr>
|
||||
<tr><td class='right'>05c0</td><td class='hex'> 04 03 00 04 05 53 4c 4f 54 20 33 20 50 43 49 65 20 78 31 36 20 28 34 29 00 00 09 0d 32 00 01 a5 </td><td class='hex'>.....SLOT.3.PCIe.x16.(4)....2...</td></tr>
|
||||
<tr><td class='right'>05e0</td><td class='hex'> 0a 04 04 04 00 04 05 53 4c 4f 54 20 34 20 50 43 49 65 20 78 38 20 28 34 29 00 00 09 0d 33 00 01 </td><td class='hex'>.......SLOT.4.PCIe.x8.(4)....3..</td></tr>
|
||||
<tr><td class='right'>0600</td><td class='hex'> 06 05 03 04 05 00 06 05 53 4c 4f 54 20 35 20 50 43 49 00 00 09 0d 34 00 01 06 05 03 04 06 00 06 </td><td class='hex'>........SLOT.5.PCI....4.........</td></tr>
|
||||
<tr><td class='right'>0620</td><td class='hex'> 05 53 4c 4f 54 20 36 20 50 43 49 00 00 0d 16 35 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </td><td class='hex'>.SLOT.6.PCI....5................</td></tr>
|
||||
<tr><td class='right'>0640</td><td class='hex'> 00 00 01 65 6e 7c 55 53 7c 69 73 6f 38 38 35 39 2d 31 00 00 10 0f 36 00 03 03 06 00 00 00 01 fe </td><td class='hex'>...en|US|iso8859-1....6.........</td></tr>
|
||||
<tr><td class='right'>0660</td><td class='hex'> ff 04 00 00 00 10 0f 37 00 03 05 03 00 04 00 00 fe ff 01 00 00 00 11 1b 38 00 36 00 fe ff 48 00 </td><td class='hex'>.......7................8.6...H.</td></tr>
|
||||
<tr><td class='right'>0680</td><td class='hex'> 40 00 00 02 0f 01 01 00 14 80 00 15 02 02 03 00 04 44 49 4d 4d 30 31 00 4a 45 44 45 43 20 49 44 </td><td class='hex'>@................DIMM01.JEDEC.ID</td></tr>
|
||||
<tr><td class='right'>06a0</td><td class='hex'> 3a 32 43 20 30 31 20 30 35 20 33 38 20 31 35 20 31 43 20 34 42 20 35 37 00 35 37 34 42 31 43 31 </td><td class='hex'>:2C.01.05.38.15.1C.4B.57.574B1C1</td></tr>
|
||||
<tr><td class='right'>06c0</td><td class='hex'> 35 00 39 48 54 46 36 34 37 32 46 59 2d 35 33 45 42 33 45 32 00 00 11 1b 39 00 36 00 fe ff 48 00 </td><td class='hex'>5.9HTF6472FY-53EB3E2....9.6...H.</td></tr>
|
||||
<tr><td class='right'>06e0</td><td class='hex'> 40 00 00 02 0f 02 01 00 14 80 00 15 02 02 03 00 04 44 49 4d 4d 30 32 00 4a 45 44 45 43 20 49 44 </td><td class='hex'>@................DIMM02.JEDEC.ID</td></tr>
|
||||
<tr><td class='right'>0700</td><td class='hex'> 3a 32 43 20 30 31 20 30 35 20 33 38 20 31 35 20 31 43 20 34 42 20 35 44 00 35 44 34 42 31 43 31 </td><td class='hex'>:2C.01.05.38.15.1C.4B.5D.5D4B1C1</td></tr>
|
||||
<tr><td class='right'>0720</td><td class='hex'> 35 00 39 48 54 46 36 34 37 32 46 59 2d 35 33 45 42 33 45 32 00 00 11 1b 3a 00 36 00 fe ff 48 00 </td><td class='hex'>5.9HTF6472FY-53EB3E2....:.6...H.</td></tr>
|
||||
<tr><td class='right'>0740</td><td class='hex'> 40 00 00 02 0f 01 01 00 14 80 00 15 02 02 03 00 04 44 49 4d 4d 30 33 00 4a 45 44 45 43 20 49 44 </td><td class='hex'>@................DIMM03.JEDEC.ID</td></tr>
|
||||
<tr><td class='right'>0760</td><td class='hex'> 3a 32 43 20 30 31 20 30 35 20 33 38 20 31 35 20 31 43 20 34 42 20 35 41 00 35 41 34 42 31 43 31 </td><td class='hex'>:2C.01.05.38.15.1C.4B.5A.5A4B1C1</td></tr>
|
||||
<tr><td class='right'>0780</td><td class='hex'> 35 00 39 48 54 46 36 34 37 32 46 59 2d 35 33 45 42 33 45 32 00 00 11 1b 3b 00 36 00 fe ff 48 00 </td><td class='hex'>5.9HTF6472FY-53EB3E2....;.6...H.</td></tr>
|
||||
<tr><td class='right'>07a0</td><td class='hex'> 40 00 00 02 0f 02 01 00 14 80 00 15 02 02 03 00 04 44 49 4d 4d 30 34 00 4a 45 44 45 43 20 49 44 </td><td class='hex'>@................DIMM04.JEDEC.ID</td></tr>
|
||||
<tr><td class='right'>07c0</td><td class='hex'> 3a 32 43 20 30 31 20 30 35 20 33 38 20 31 35 20 31 43 20 34 42 20 34 39 00 34 39 34 42 31 43 31 </td><td class='hex'>:2C.01.05.38.15.1C.4B.49.494B1C1</td></tr>
|
||||
<tr><td class='right'>07e0</td><td class='hex'> 35 00 39 48 54 46 36 34 37 32 46 59 2d 35 33 45 42 33 45 32 00 00 11 1b 3d 00 37 00 fe ff 02 00 </td><td class='hex'>5.9HTF6472FY-53EB3E2....=.7.....</td></tr>
|
||||
<tr><td class='right'>0800</td><td class='hex'> 02 00 00 84 05 00 01 00 09 00 10 00 00 00 00 00 00 53 59 53 54 45 4d 20 52 4f 4d 00 00 13 0f 3e </td><td class='hex'>.................SYSTEM.ROM....></td></tr>
|
||||
<tr><td class='right'>0820</td><td class='hex'> 00 00 00 00 00 ff ff 1f 00 36 00 04 00 00 13 0f 3f 00 00 fe 3f 00 ff ff 3f 00 37 00 01 00 00 14 </td><td class='hex'>.........6......?...?...?.7.....</td></tr>
|
||||
<tr><td class='right'>0840</td><td class='hex'> 13 40 00 00 00 00 00 ff ff 07 00 38 00 3e 00 01 00 00 00 00 14 13 41 00 00 00 08 00 ff ff 0f 00 </td><td class='hex'>.@.........8.>........A.........</td></tr>
|
||||
<tr><td class='right'>0860</td><td class='hex'> 39 00 3e 00 02 00 00 00 00 14 13 42 00 00 00 10 00 ff ff 17 00 3a 00 3e 00 03 00 00 00 00 14 13 </td><td class='hex'>9.>........B.........:.>........</td></tr>
|
||||
<tr><td class='right'>0880</td><td class='hex'> 43 00 00 00 18 00 ff ff 1f 00 3b 00 3e 00 04 00 00 00 00 14 13 44 00 00 fe 3f 00 ff ff 3f 00 3d </td><td class='hex'>C.........;.>........D...?...?.=</td></tr>
|
||||
<tr><td class='right'>08a0</td><td class='hex'> 00 3f 00 01 00 00 00 00 20 0b 45 00 00 00 00 00 00 00 00 00 00 88 06 46 00 5a 5a 00 00 c5 0a 47 </td><td class='hex'>.?........E............F.ZZ....G</td></tr>
|
||||
<tr><td class='right'>08c0</td><td class='hex'> 00 05 00 00 01 ff 01 00 00 c5 0a 48 00 06 00 06 00 ff 02 00 00 cf 09 49 00 00 00 00 24 00 00 00 </td><td class='hex'>...........H...........I....$...</td></tr>
|
||||
<tr><td class='right'>08e0</td><td class='hex'> d0 05 4a 00 03 00 00 7f 04 4b 00 00 00 </td><td class='hex'>..J......K...</td></tr>
|
||||
</table>
|
||||
</div> <!-- class=content -->
|
||||
<div class='footer'>generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit v1.0</a> at 2019-04-01 07:01:00 +0000</div>
|
||||
</div> <!-- id=cgit -->
|
||||
</body>
|
||||
</html>
|
64
tests/selftest/runtest.sh
Normal file
64
tests/selftest/runtest.sh
Normal file
@ -0,0 +1,64 @@
|
||||
#!/bin/bash
|
||||
# vim: dict=/usr/share/rhts-library/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# runtest.sh of
|
||||
# Description: Test for bz497830 ('df' doesn't wait for automount with indirect maps)
|
||||
# Author: Jan Scotka <jscotka@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2009 Red Hat, Inc. All rights reserved.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing
|
||||
# to use, modify, copy, or redistribute it subject to the terms
|
||||
# and conditions of the GNU General Public License version 2.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# Include rhts environment
|
||||
. /usr/bin/rhts-environment.sh
|
||||
. /usr/share/rhts-library/rhtslib.sh
|
||||
|
||||
PACKAGE="python3-dmidecode"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlAssertRpm $PACKAGE
|
||||
tar xzvf unit-tests.tar.gz
|
||||
echo "
|
||||
import dmidecode
|
||||
|
||||
dmidecode.clear_warnings() # Ignore warnings related to no SMBIOS found
|
||||
dmidecode.set_dev('/tmp/dump.dat')
|
||||
x = dmidecode.dmidecodeXML()
|
||||
x.SetResultType(dmidecode.DMIXML_DOC)
|
||||
x.QuerySection('processor').saveFormatFileEnc('-','UTF-8',1)
|
||||
" > /tmp/test.py
|
||||
|
||||
/bin/cp -f dump.dat /tmp/dump.dat
|
||||
|
||||
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "python3 /tmp/test.py"
|
||||
cd unit-tests
|
||||
rlRun "make test"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rm /tmp/test.py
|
||||
rlPhaseEnd
|
||||
rlJournalPrintText
|
||||
rlJournalEnd
|
BIN
tests/selftest/unit-tests.tar.gz
Normal file
BIN
tests/selftest/unit-tests.tar.gz
Normal file
Binary file not shown.
14
tests/tests.yml
Normal file
14
tests/tests.yml
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
# This first play always runs on the local staging system
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-beakerlib
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- selftest
|
||||
required_packages:
|
||||
- libxml2-devel
|
||||
- python3-devel
|
||||
- python3-libxml2
|
||||
- libxml2-python3
|
Loading…
Reference in New Issue
Block a user