public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] README: Fix typo of install guide
@ 2021-11-16  9:56 An Long
  2021-11-16  9:56 ` [PATCH 2/2] server: Fix t.time_taken type for xml_printresults An Long
  2021-11-16 14:53 ` [PATCH 1/2] README: Fix typo of install guide J. Bruce Fields
  0 siblings, 2 replies; 3+ messages in thread
From: An Long @ 2021-11-16  9:56 UTC (permalink / raw)
  To: bfields; +Cc: linux-nfs, An Long

Signed-off-by: An Long <lan@suse.com>
---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README b/README
index fe2eae3..b8b4e77 100644
--- a/README
+++ b/README
@@ -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
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] server: Fix t.time_taken type for xml_printresults
  2021-11-16  9:56 [PATCH 1/2] README: Fix typo of install guide An Long
@ 2021-11-16  9:56 ` An Long
  2021-11-16 14:53 ` [PATCH 1/2] README: Fix typo of install guide J. Bruce Fields
  1 sibling, 0 replies; 3+ messages in thread
From: An Long @ 2021-11-16  9:56 UTC (permalink / raw)
  To: bfields; +Cc: linux-nfs, An Long

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

Signed-off-by: An Long <lan@suse.com>
---
 nfs4.1/testmod.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nfs4.1/testmod.py b/nfs4.1/testmod.py
index 47016dd..11e759d 100644
--- a/nfs4.1/testmod.py
+++ b/nfs4.1/testmod.py
@@ -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:
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] README: Fix typo of install guide
  2021-11-16  9:56 [PATCH 1/2] README: Fix typo of install guide An Long
  2021-11-16  9:56 ` [PATCH 2/2] server: Fix t.time_taken type for xml_printresults An Long
@ 2021-11-16 14:53 ` J. Bruce Fields
  1 sibling, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2021-11-16 14:53 UTC (permalink / raw)
  To: An Long; +Cc: linux-nfs

Thanks, both applied.--b.

On Tue, Nov 16, 2021 at 05:56:31PM +0800, An Long wrote:
> Signed-off-by: An Long <lan@suse.com>
> ---
>  README | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/README b/README
> index fe2eae3..b8b4e77 100644
> --- a/README
> +++ b/README
> @@ -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
> -- 
> 2.31.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-16 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-16  9:56 [PATCH 1/2] README: Fix typo of install guide An Long
2021-11-16  9:56 ` [PATCH 2/2] server: Fix t.time_taken type for xml_printresults An Long
2021-11-16 14:53 ` [PATCH 1/2] README: Fix typo of install guide J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox