All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH]  [PATCH] rmdir/rmdir05: Delete unnecessary if
@ 2015-09-10  1:02 Cui Bixuan
  2015-09-10  1:04 ` Cui Bixuan
  2015-09-10  6:00 ` Zeng Linggang
  0 siblings, 2 replies; 4+ messages in thread
From: Cui Bixuan @ 2015-09-10  1:02 UTC (permalink / raw)
  To: ltp-list; +Cc: zhuyanpeng, zhanyongming

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


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2015-09-30 11:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-10  1:02 [LTP] [PATCH] [PATCH] rmdir/rmdir05: Delete unnecessary if Cui Bixuan
2015-09-10  1:04 ` Cui Bixuan
2015-09-30 11:09   ` Cyril Hrubis
2015-09-10  6:00 ` Zeng Linggang

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.