All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] ext4: fix script error of ext4_nsec_timestamps_test.sh
@ 2009-11-11  1:51 Wei Yongjun
  2009-11-11 15:59 ` Subrata Modak
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2009-11-11  1:51 UTC (permalink / raw)
  To: subrata, Miao Xie, ltp-list

Execute test case of ext4_nsec_timestamps_test.sh had some errors:
./ext4_nsec_timestamps_test.sh: line 183: [0: command not found
./ext4_nsec_timestamps_test.sh: line 189: [0: command not found

This patch fix them.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
---
 .../ext4_nsec_timestamps_test.sh                   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh b/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh
index ad7729e..ced6576 100755
--- a/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh
+++ b/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh
@@ -180,13 +180,13 @@ ext4_setup
 RET=0
 
 ext4_test_sec_timestamps
-if [$? -ne 0 ]; then
+if [ $? -ne 0 ]; then
 	RET=1
 fi
 : $((TST_COUNT++))
 
 ext4_test_nsec_timestamps
-if [$? -ne 0 ]; then
+if [ $? -ne 0 ]; then
 	RET=1
 fi
 : $((TST_COUNT++))
-- 
1.6.4




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

* Re: [LTP] [PATCH] ext4: fix script error of ext4_nsec_timestamps_test.sh
  2009-11-11  1:51 [LTP] [PATCH] ext4: fix script error of ext4_nsec_timestamps_test.sh Wei Yongjun
@ 2009-11-11 15:59 ` Subrata Modak
  0 siblings, 0 replies; 2+ messages in thread
From: Subrata Modak @ 2009-11-11 15:59 UTC (permalink / raw)
  To: Wei Yongjun; +Cc: ltp-list, Miao Xie

On Wed, 2009-11-11 at 09:51 +0800, Wei Yongjun wrote: 
> Execute test case of ext4_nsec_timestamps_test.sh had some errors:
> ./ext4_nsec_timestamps_test.sh: line 183: [0: command not found
> ./ext4_nsec_timestamps_test.sh: line 189: [0: command not found
> 
> This patch fix them.
> 
> Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>

Thanks.

Regards--
Subrata

> ---
>  .../ext4_nsec_timestamps_test.sh                   |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh b/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh
> index ad7729e..ced6576 100755
> --- a/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh
> +++ b/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh
> @@ -180,13 +180,13 @@ ext4_setup
>  RET=0
> 
>  ext4_test_sec_timestamps
> -if [$? -ne 0 ]; then
> +if [ $? -ne 0 ]; then
>  	RET=1
>  fi
>  : $((TST_COUNT++))
> 
>  ext4_test_nsec_timestamps
> -if [$? -ne 0 ]; then
> +if [ $? -ne 0 ]; then
>  	RET=1
>  fi
>  : $((TST_COUNT++))


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2009-11-11 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-11  1:51 [LTP] [PATCH] ext4: fix script error of ext4_nsec_timestamps_test.sh Wei Yongjun
2009-11-11 15:59 ` Subrata Modak

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.