Skip to contentSkip to conversation

ext4: fix script error of ext4_nsec_timestamps_test.sh

PATCH In review Wei Yongjun 2 participants 2 messages Nov 11, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ext4: fix script error of ext4_nsec_timestamps_test.sh

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.

---
 .../ext4_nsec_timestamps_test.sh                   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh +2 -2
index ad7729e..ced6576 100755
@@ -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++))
Signature · 14 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw
Quoted 7 lines · Wei Yongjun

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.

Thanks.

Regards--
Subrata

Quoted 14 lines
---
 .../ext4_nsec_timestamps_test.sh                   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh +1 -1
index ad7729e..ced6576 100755
@@ -180,13 +180,13 @@ ext4_setup
 RET=0
 
 ext4_test_sec_timestamps
-if [$? -ne 0 ]; then
+if [ $? -ne 0 ]; then

testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh ext4_setup · line 192

Quoted 10 lines
testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh +1 -1
 	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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list