test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/virtio_ipsec_cryptodev_func: restore file open mode
@ 2021-04-21  7:04 Yu Jiang
  2021-04-22  5:54 ` Jiang, YuX
  0 siblings, 1 reply; 3+ messages in thread
From: Yu Jiang @ 2021-04-21  7:04 UTC (permalink / raw)
  To: dts; +Cc: Yu Jiang

restore file open mode to writable
Fixes: ab8397d ("cryptodev: replace -w to -a")

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 tests/TestSuite_virtio_ipsec_cryptodev_func.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_virtio_ipsec_cryptodev_func.py b/tests/TestSuite_virtio_ipsec_cryptodev_func.py
index 71557d4..ec610dd 100644
--- a/tests/TestSuite_virtio_ipsec_cryptodev_func.py
+++ b/tests/TestSuite_virtio_ipsec_cryptodev_func.py
@@ -163,7 +163,7 @@ class VirtioCryptodevIpsecTest(TestCase):
         self.set_cfg(dut, 'ep1.cfg', ep1)
 
     def set_cfg(self, dut, filename, cfg):
-        with open(filename, 'a') as f:
+        with open(filename, 'w') as f:
             f.write(cfg)
 
         dut.session.copy_file_to(filename, dut.base_dir)
-- 
2.7.4


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

* Re: [dts] [PATCH V1] tests/virtio_ipsec_cryptodev_func: restore file open mode
  2021-04-21  7:04 [dts] [PATCH V1] tests/virtio_ipsec_cryptodev_func: restore file open mode Yu Jiang
@ 2021-04-22  5:54 ` Jiang, YuX
  2021-05-07  7:15   ` Tu, Lijuan
  0 siblings, 1 reply; 3+ messages in thread
From: Jiang, YuX @ 2021-04-22  5:54 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

Tested-by: Yu Jiang <yux.jiang@intel.com>

Best regards,
Jiang, Yu

-----Original Message-----
From: Jiang, YuX <yux.jiang@intel.com> 
Sent: Wednesday, April 21, 2021 3:05 PM
To: dts@dpdk.org
Cc: Jiang, YuX <yux.jiang@intel.com>
Subject: [dts][PATCH V1] tests/virtio_ipsec_cryptodev_func: restore file open mode

[-- Attachment #2: VirtioCryptodevIpsecTest.log --]
[-- Type: application/octet-stream, Size: 963677 bytes --]

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

* Re: [dts] [PATCH V1] tests/virtio_ipsec_cryptodev_func: restore file open mode
  2021-04-22  5:54 ` Jiang, YuX
@ 2021-05-07  7:15   ` Tu, Lijuan
  0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-05-07  7:15 UTC (permalink / raw)
  To: Jiang, YuX, dts



> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Jiang, YuX
> Sent: 2021年4月22日 13:54
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/virtio_ipsec_cryptodev_func: restore file
> open mode
> 
> Tested-by: Yu Jiang <yux.jiang@intel.com>
> 
> Best regards,
> Jiang, Yu
> 
> -----Original Message-----
> From: Jiang, YuX <yux.jiang@intel.com>
> Sent: Wednesday, April 21, 2021 3:05 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts][PATCH V1] tests/virtio_ipsec_cryptodev_func: restore file open
> mode

Applied

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

end of thread, other threads:[~2021-05-07  7:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-21  7:04 [dts] [PATCH V1] tests/virtio_ipsec_cryptodev_func: restore file open mode Yu Jiang
2021-04-22  5:54 ` Jiang, YuX
2021-05-07  7:15   ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).