All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Yongjun <yjwei@cn.fujitsu.com>
To: subrata@linux.vnet.ibm.com, Miao Xie <miaox@cn.fujitsu.com>,
	ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH] ext4: fix script error of ext4_nsec_timestamps_test.sh
Date: Wed, 11 Nov 2009 09:51:34 +0800	[thread overview]
Message-ID: <4AFA18A6.50005@cn.fujitsu.com> (raw)

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

             reply	other threads:[~2009-11-11  1:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-11  1:51 Wei Yongjun [this message]
2009-11-11 15:59 ` [LTP] [PATCH] ext4: fix script error of ext4_nsec_timestamps_test.sh Subrata Modak

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=4AFA18A6.50005@cn.fujitsu.com \
    --to=yjwei@cn.fujitsu.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=miaox@cn.fujitsu.com \
    --cc=subrata@linux.vnet.ibm.com \
    /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.