Skip to contentSkip to conversation

README: Fix typo of install guide

PATCH In review An Long 2 participants 3 messages Nov 16, 2021

Subsystems (3)
lore
Share & tools
lore

An Long

author
#0 lore raw

PATCH 1/2 README: Fix typo of install guide

---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
README +1 -1
index fe2eae3..b8b4e77 100644
@@ -12,7 +12,7 @@ Install dependent modules:
 	yum install krb5-devel python3-devel swig python3-gssapi python3-ply
 
 * openSUSE
-	zypper in install krb5-devel python3-devel swig python3-gssapi python3-ply
+	zypper install krb5-devel python3-devel swig python3-gssapi python3-ply
 
 You can prepare both for use with
 	./setup.py build
Signature · 1 line
2.31.1
author
#1 lore raw

PATCH 2/2 server: Fix t.time_taken type for xml_printresults

t.time_taken does replace in _write_data, but 'float' object has no attribute 'replace'

---
 nfs4.1/testmod.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
nfs4.1/testmod.py +1 -1
index 47016dd..11e759d 100644
@@ -524,7 +524,7 @@ def xml_printresults(tests, file_name, suite='all'):
             testcase.setAttribute("code", t.code)
             testcase.setAttribute("name", t.name)
             testcase.setAttribute("classname", t.suite)
-            testcase.setAttribute("time", t.time_taken)
+            testcase.setAttribute("time", str(t.time_taken))
 
             total_time += t.time_taken
             if t.result == TEST_FAIL:
Signature · 1 line
2.31.1
#2 lore raw
In reply to An Long

Thanks, both applied.--b.

Quoted 20 lines · An Long
---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
README +1 -1
index fe2eae3..b8b4e77 100644
@@ -12,7 +12,7 @@ Install dependent modules:
 	yum install krb5-devel python3-devel swig python3-gssapi python3-ply
 
 * openSUSE
-	zypper in install krb5-devel python3-devel swig python3-gssapi python3-ply
+	zypper install krb5-devel python3-devel swig python3-gssapi python3-ply
 
 You can prepare both for use with
 	./setup.py build
Signature · 1 line
2.31.1