Compare commits
No commits in common. "c8s" and "c9-beta" have entirely different histories.
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1 @@
|
||||
python-dmidecode-3.10.13.tar.gz
|
||||
python-dmidecode-3.10.13.tar.xz
|
||||
/python-dmidecode-3.12.2.tar.gz
|
||||
SOURCES/python-dmidecode-3.12.3.tar.gz
|
||||
|
1
.python-dmidecode.metadata
Normal file
1
.python-dmidecode.metadata
Normal file
@ -0,0 +1 @@
|
||||
f06f73840beba1575ff0109c23a9de0e7b8ab21f SOURCES/python-dmidecode-3.12.3.tar.gz
|
@ -1,59 +0,0 @@
|
||||
From 5643ecc7530489bf0875c4fe96031671b3cda435 Mon Sep 17 00:00:00 2001
|
||||
From: Lichen Liu <lichliu@redhat.com>
|
||||
Date: Fri, 17 Feb 2023 11:09:05 +0800
|
||||
Subject: [PATCH] Fix wrong DMI structures count
|
||||
|
||||
SMBIOS v3 64-bit entry points do not announce a structures count,
|
||||
and only indicate a maximum size for the table.
|
||||
|
||||
Remove debug log.
|
||||
|
||||
Signed-off-by: Lichen Liu <lichliu@redhat.com>
|
||||
---
|
||||
src/dmidecode.c | 10 +++++++---
|
||||
src/efi.c | 4 ----
|
||||
2 files changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/src/dmidecode.c b/src/dmidecode.c
|
||||
index d1a10c1..a013c53 100644
|
||||
--- a/src/dmidecode.c
|
||||
+++ b/src/dmidecode.c
|
||||
@@ -6241,13 +6241,17 @@ static void dmi_table(Log_t *logp, int type, u32 base, u32 len, u16 num, u32 ver
|
||||
dmixml_AddAttribute(handle_n, "type", "%i", type);
|
||||
dmixml_AddAttribute(handle_n, "notfound", "1");
|
||||
}
|
||||
-
|
||||
- if(i != num) {
|
||||
+ /*
|
||||
+ * SMBIOS v3 64-bit entry points do not announce a structures count,
|
||||
+ * and only indicate a maximum size for the table.
|
||||
+ */
|
||||
+ if(num && i != num) {
|
||||
log_append(logp, LOGFL_NODUPS, LOG_WARNING,
|
||||
"Wrong DMI structures count: %d announced, only %d decoded.", num, i);
|
||||
}
|
||||
|
||||
- if(data - buf != len) {
|
||||
+ if((unsigned long)(data - buf) > len
|
||||
+ || (num && (unsigned long)(data - buf) < len)) {
|
||||
log_append(logp, LOGFL_NODUPS, LOG_WARNING,
|
||||
"Wrong DMI structures length: %d bytes announced, structures occupy %d bytes.",
|
||||
len, (unsigned int)(data - buf));
|
||||
diff --git a/src/efi.c b/src/efi.c
|
||||
index e519257..362e2f9 100644
|
||||
--- a/src/efi.c
|
||||
+++ b/src/efi.c
|
||||
@@ -83,10 +83,6 @@ int address_from_efi(Log_t *logp, size_t * address)
|
||||
log_append(logp, LOGFL_NODUPS, LOG_WARNING, "%s: SMBIOS entry point missing", filename);
|
||||
}
|
||||
|
||||
- if(ret == 0){
|
||||
- log_append(logp, LOGFL_NODUPS, LOG_DEBUG, "%s: entry point at 0x%08llx", eptype, (unsigned long long)*address);
|
||||
- }
|
||||
-
|
||||
return ret;
|
||||
}
|
||||
|
||||
--
|
||||
2.39.1
|
||||
|
@ -3,18 +3,16 @@ Summary: Python module to access DMI data
|
||||
Version: 3.12.3
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Libraries
|
||||
URL: https://github.com/nima/python-dmidecode
|
||||
Source0: https://github.com/nima/python-dmidecode/archive/refs/tags/%{name}-%{version}.tar.gz
|
||||
Patch0: 0001-Fix-dmi_cache_size_2-will-add-unit-twice.patch
|
||||
Patch1: 0002-Fix-wrong-DMI-structures-count.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libxml2-devel
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-libxml2
|
||||
BuildRequires: libxml2-python3
|
||||
|
||||
%global _description\
|
||||
python-dmidecode is a python extension module that uses the\
|
||||
@ -28,13 +26,8 @@ as python data structures or as XML data using libxml2.\
|
||||
%package -n python3-dmidecode
|
||||
Summary: Python 3 module to access DMI data
|
||||
Requires: libxml2-python3
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%description -n python3-dmidecode
|
||||
python3-dmidecode is a Python 3 extension module that uses the
|
||||
code-base of the 'dmidecode' utility, and presents the data
|
||||
as Python 3 data structures or as XML data using libxml2.
|
||||
|
||||
%description -n python3-dmidecode %_description
|
||||
|
||||
|
||||
%prep
|
||||
@ -59,37 +52,76 @@ make -C unit-tests
|
||||
|
||||
|
||||
%files -n python3-dmidecode
|
||||
%license doc/LICENSE doc/AUTHORS doc/AUTHORS.upstream
|
||||
%doc README doc/README.upstream
|
||||
%{python3_sitearch}/dmidecodemod.cpython-%{python3_version_nodots}m-*.so
|
||||
%license doc/LICENSE
|
||||
%doc README doc/AUTHORS doc/AUTHORS.upstream
|
||||
%{python3_sitearch}/dmidecodemod.cpython-%{python3_version_nodots}*.so
|
||||
%{python3_sitearch}/__pycache__/dmidecode.cpython-%{python3_version_nodots}*.py[co]
|
||||
%{python3_sitearch}/dmidecode.py
|
||||
%{python3_sitearch}/*.egg-info
|
||||
%{_datadir}/python-dmidecode/
|
||||
|
||||
%changelog
|
||||
* Fri Feb 17 2023 Lichen Liu <lichliu@redhat.com> - 3.12.3-2
|
||||
- Resolves: rhbz#2103911
|
||||
* Tue Feb 07 2023 Lichen Liu <lichliu@redhat.com> - 3.12.3-2
|
||||
- Resolves: rhbz#1981868
|
||||
- Resolves: rhbz#2166716
|
||||
|
||||
* Tue Feb 07 2023 Lichen Liu <lichliu@redhat.com> - 3.12.3-1
|
||||
- Resolves: rhbz#2070727
|
||||
- Resolves: rhbz#2103911
|
||||
* Wed Nov 23 2022 Lichen Liu <lichliu@redhat.com> - 3.12.3-1
|
||||
- Update to 3.12.3
|
||||
- Add smbios3 support.
|
||||
|
||||
* Wed May 08 2019 Lianbo Jiang <lijiang@redhat.com> - 3.12.2-15
|
||||
- Fix an index out of range when calling dmidecode.memory().
|
||||
- Resolves: #1665443
|
||||
* Sat Aug 14 2021 Coiby Xu <coxu@redhat.com> - 3.12.2-27
|
||||
- Resolves: rhbz#1938852
|
||||
- Resolves: rhbz#1992494
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Mon Apr 15 2019 Lianbo Jiang <lijiang@redhat.com> - 3.12.2-14
|
||||
- Add the gating test
|
||||
- Resolves: #1680625
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.12.2-26
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Fri Sep 14 2018 Lianbo Jiang <lijiang@redhat.com> - 3.12.2-13
|
||||
- Disable build python-dmidecode package other than x86_64 architecture
|
||||
- Resolves: #1626424
|
||||
* Mon Jul 19 2021 Coiby Xu <coxu@redhat.com> - 3.12.2-25
|
||||
- Fix several issues found by covscan
|
||||
- Resolves: rhbz#1938852
|
||||
|
||||
* Mon Jun 04 2018 Petr Viktorin <pviktori@redhat.com> - 3.12.2-12
|
||||
- Drop the Python2 subpackage
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1567417
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.12.2-24
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Nov 26 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.12.2-22
|
||||
- Refresh SPEC file
|
||||
- Fixed for Python-3.10 (rhbz#1898981)
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.12.2-20
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.12.2-18
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.12.2-17
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Sun Aug 11 2019 Miro Hrončok <mhroncok@redhat.com> - 3.12.2-16
|
||||
- Subpackage python2-dmidecode has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.12.2-12
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
1
sources
1
sources
@ -1 +0,0 @@
|
||||
SHA512 (python-dmidecode-3.12.3.tar.gz) = b9436236851f9a225340279e50ae3a4a8def10e5a75d918d7b1cf77c8c2213632acd72ece58eaf09f2dc5f26d93ce44d9da9249182bb00147ed9249cd40449cf
|
@ -1,66 +0,0 @@
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# 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)
|
||||
|
@ -1,3 +0,0 @@
|
||||
PURPOSE of /CoreOS/python3-dmidecode/Sanity/selftest
|
||||
Description: basic testing of package python3 dmidecode.
|
||||
Author: Petr Sklenar <psklenar@redhat.com>
|
@ -1,113 +0,0 @@
|
||||
<!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>
|
@ -1,64 +0,0 @@
|
||||
#!/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
|
Binary file not shown.
@ -1,14 +0,0 @@
|
||||
---
|
||||
# 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