All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP]  [PATH] gzip/gzip_tests.sh: remove the tmp dir of test02
@ 2015-04-07  2:51 Cui Bixuan
  2015-04-16 10:17 ` [LTP] [PATH v2] gzip/gzip_tests.sh: Delete the tmp_dir " Cui Bixuan
  2015-05-04 13:34 ` [LTP] [PATH] gzip/gzip_tests.sh: remove the tmp dir " Cyril Hrubis
  0 siblings, 2 replies; 3+ messages in thread
From: Cui Bixuan @ 2015-04-07  2:51 UTC (permalink / raw)
  To: ltp-list; +Cc: , huawei.com.zhuyanpeng, zhanyongming

To clean up when test02 finished of gzip_tests.sh.
---
 testcases/commands/gzip/gzip_tests.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/testcases/commands/gzip/gzip_tests.sh b/testcases/commands/gzip/gzip_tests.sh
index 5f0725c..432f992 100755
--- a/testcases/commands/gzip/gzip_tests.sh
+++ b/testcases/commands/gzip/gzip_tests.sh
@@ -326,4 +326,6 @@ then
 	TFAILCNT=$(($TFAILCNT+1))
 fi
 
+rm -fr $LTPTMP/tst_gzip.*
+
 exit $TFAILCNT
-- 
1.6.0.2


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

* [LTP]  [PATH v2] gzip/gzip_tests.sh: Delete the tmp_dir of test02
  2015-04-07  2:51 [LTP] [PATH] gzip/gzip_tests.sh: remove the tmp dir of test02 Cui Bixuan
@ 2015-04-16 10:17 ` Cui Bixuan
  2015-05-04 13:34 ` [LTP] [PATH] gzip/gzip_tests.sh: remove the tmp dir " Cyril Hrubis
  1 sibling, 0 replies; 3+ messages in thread
From: Cui Bixuan @ 2015-04-16 10:17 UTC (permalink / raw)
  To: Cui Bixuan; +Cc: ltp-list, zhanyongming, zhuyanpeng


Do clean up when test02 finished of gzip_tests.sh

Signed-off-by: Cui Bixuan <cuibixuan@huawei.com>
---
 testcases/commands/gzip/gzip_tests.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/testcases/commands/gzip/gzip_tests.sh b/testcases/commands/gzip/gzip_tests.sh
index 5f0725c..432f992 100755
--- a/testcases/commands/gzip/gzip_tests.sh
+++ b/testcases/commands/gzip/gzip_tests.sh
@@ -326,4 +326,6 @@ then
 	TFAILCNT=$(($TFAILCNT+1))
 fi

+rm -fr $LTPTMP/tst_gzip.*
+
 exit $TFAILCNT
-- 
1.6.0.2

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

* Re: [LTP] [PATH] gzip/gzip_tests.sh: remove the tmp dir of test02
  2015-04-07  2:51 [LTP] [PATH] gzip/gzip_tests.sh: remove the tmp dir of test02 Cui Bixuan
  2015-04-16 10:17 ` [LTP] [PATH v2] gzip/gzip_tests.sh: Delete the tmp_dir " Cui Bixuan
@ 2015-05-04 13:34 ` Cyril Hrubis
  1 sibling, 0 replies; 3+ messages in thread
From: Cyril Hrubis @ 2015-05-04 13:34 UTC (permalink / raw)
  To: Cui Bixuan; +Cc: ltp-list, zhanyongming, huawei.com.zhuyanpeng

Hi!
Pushed, thanks.

Side note, the test should be fixed to use tst_tmpdir() and tst_resm()
to return correct exit status at the end. As it is if both tests fail it
will return 2 (TBROK) instead of 1 (TFAIL).

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2015-05-04 13:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07  2:51 [LTP] [PATH] gzip/gzip_tests.sh: remove the tmp dir of test02 Cui Bixuan
2015-04-16 10:17 ` [LTP] [PATH v2] gzip/gzip_tests.sh: Delete the tmp_dir " Cui Bixuan
2015-05-04 13:34 ` [LTP] [PATH] gzip/gzip_tests.sh: remove the tmp dir " Cyril Hrubis

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.