From: Cui Bixuan <cuibixuan@huawei.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] [PATCH] rmdir/rmdir05: Delete unnecessary if
Date: Thu, 10 Sep 2015 09:04:07 +0800 [thread overview]
Message-ID: <55F0D707.4040407@huawei.com> (raw)
In-Reply-To: <1441846935-44787-1-git-send-email-cuibixuan@huawei.com>
Delete unnecessary if in testcase
Signed-off-by: Cui Bixuan <cuibixuan@huawei.com>
---
testcases/kernel/syscalls/rmdir/rmdir05.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/testcases/kernel/syscalls/rmdir/rmdir05.c b/testcases/kernel/syscalls/rmdir/rmdir05.c
index 10037c7..2f0f102 100644
--- a/testcases/kernel/syscalls/rmdir/rmdir05.c
+++ b/testcases/kernel/syscalls/rmdir/rmdir05.c
@@ -81,9 +81,6 @@ int main(int argc, char **argv)
TEST(rmdir("."));
if (TEST_RETURN == -1) {
- }
-
- if (TEST_RETURN == -1) {
if (TEST_ERRNO & (EBUSY | ENOTEMPTY)) {
/* For functionality tests, verify that the
* directory wasn't removed.
--
1.6.0.2
.
next prev parent reply other threads:[~2015-09-10 1:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-10 1:02 [LTP] [PATCH] [PATCH] rmdir/rmdir05: Delete unnecessary if Cui Bixuan
2015-09-10 1:04 ` Cui Bixuan [this message]
2015-09-30 11:09 ` Cyril Hrubis
2015-09-10 6:00 ` Zeng Linggang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55F0D707.4040407@huawei.com \
--to=cuibixuan@huawei.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.