Add new testcase to verify the flag MNT_EXPIRE of umount2(2).
Signed-off-by: Guangwen Feng fenggw-f...@cn.fujitsu.com
---
runtest/ltplite| 1 +
runtest/syscalls | 1 +
testcases/kernel/syscalls/.gitignore | 1 +
I'm sorry! I sent the wrong version.
Please ignore this one, and I will resend the patch.
Best Regards,
Guangwen Feng
On 2015/08/06 15:04, Guangwen Feng wrote:
Add new testcase to verify the flag MNT_EXPIRE of umount2(2).
Signed-off-by: Guangwen Feng fenggw-f...@cn.fujitsu.com
---
Hi,
On 08/05/2015 08:29 PM, Cyril Hrubis wrote:
To be clear. I'm for dropping the ugly runcc.* interface and the
testcases that use it. That would be asapi_01.c, asapi_02.c, asapi_03,c,
half of asapi_05.c and asapi_07.c and fixing the rest of the testcases.
Agree.
Best regards,
Alexey
Hi!
On Wed, 2015-08-05 at 16:00 +0200, Cyril Hrubis wrote:
Hi!
+int safe_bind(const char *file, const int lineno, void (cleanup_fn)(void),
+ int socket, const struct sockaddr *address,
+ socklen_t address_len)
+{
+ int err, ret, i;
+
+ for (i = 0; i 30; i++) {
Hi,
On Wed, 2015-08-05 at 19:16 +0300, Alexey Kodanev wrote:
Hi,
On 08/05/2015 05:00 PM, Cyril Hrubis wrote:
Hi!
+int safe_bind(const char *file, const int lineno, void (cleanup_fn)(void),
+int socket, const struct sockaddr *address,
+socklen_t address_len)
+{
+ int
Add new testcase to verify the flag UMOUNT_NOFOLLOW of umount2(2).
Signed-off-by: Guangwen Feng fenggw-f...@cn.fujitsu.com
---
runtest/ltplite| 1 +
runtest/syscalls | 1 +
testcases/kernel/syscalls/.gitignore | 1 +
Hi!
+int safe_bind(const char *file, const int lineno, void
(cleanup_fn)(void),
+ int socket, const struct sockaddr *address,
+ socklen_t address_len)
+{
+int err, ret, i;
+
+for (i = 0; i 30; i++) {
30 sec still may not be
Hi!
+ if ((size_t)sret != sizeof(msbs.mtext))
+ tst_brkm(TBROK, NULL, received %zi, expected %zu\n,
+ (ssize_t)sret, (size_t)sizeof(msbs.mtext));
I've removed these cast completly (since sret is ssize_t allready and
the same for the sizeof()). Fixed the
Hi!
Add new testcase to verify that a write lease may be placed
on a file only if there are no other open file descriptors
for the file.
Signed-off-by: Guangwen Feng fenggw-f...@cn.fujitsu.com
---
runtest/ltplite | 1 +
runtest/syscalls
Hi Jan,
The limitation is added by the following patch. In some old kernel
versions, no limitation is applied. I suggest that tst_kvercmp should be
used in this case.
commit f2302505775fd13ba93f034206f1e2a587017929
Author: Andrew Vagin ava...@openvz.org
Date: Thu Oct 25 13:38:07 2012 -0700
Many thanks, Jan.
On 2015/8/5 21:21, Jan Stancek wrote:
- Original Message -
From: Yuan Sun sunyu...@huawei.com
To: jstan...@redhat.com
Cc: ltp-list@lists.sourceforge.net
Sent: Friday, 31 July, 2015 11:15:46 AM
Subject: [PATCH V2] containers: new testcase userns06
When a
Add new testcase to verify the flag MNT_EXPIRE of umount2(2).
Signed-off-by: Guangwen Feng fenggw-f...@cn.fujitsu.com
---
runtest/ltplite| 1 +
runtest/syscalls | 1 +
testcases/kernel/syscalls/.gitignore | 1 +
OK, got it.
Xiumiao Song
From: Cyril Hrubis
Date: 2015-08-05 20:16
To: Xiumiao Song
CC: ltp-list@lists.sourceforge.net; wu...@inspur.com; Michal Hocko
Subject: Re: [LTP] [PATCH] memcg_functinon: testcase_30 function
Hi!
Testcase_30 function testing mem_cgroup_force_empty_write
function
Hi!
+/*
+ * MIN_TIME_LIMIT is defined to 5 senconds as a minimal acceptable
+ * amount of time for the lease breaker waitting for unblock, if the
+ * lease breaker is unblocked within MIN_TIME_LIMIT we may consider
+ * that the feature of the lease mechanism works well.
+ */
+#define
14 matches
Mail list logo