Skip to contentSkip to conversation

ext4-new-features: modify ext4_get_inode_version.sh not know $EXT4_DEV definition

PATCH Applied Zorro Lang 2 participants 2 messages Oct 22, 2014 – Oct 23, 2014

lore
Share & tools
lore

Zorro Lang

author
#0 lore raw

PATCH v2 1/1 ext4-new-features: modify ext4_get_inode_version.sh not know $EXT4_DEV definition

ext4_get_inode_version.sh use $EXT4_DEV, but it really doesn't know what is $EXT4_DEV. That cause other cases which use ext4_get_inode_version.sh to fail.

---
 testcases/kernel/fs/ext4-new-features/ext4_funcs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/fs/ext4-new-features/ext4_funcs.sh +1 -1
index 0ae534a..b51e942 100755
@@ -45,7 +45,7 @@ ext4_setup()
 	if [ -z "$LTP_BIG_DEV" ];then
 		tst_brkm TCONF "tests need a big block device(5G-10G)"
 	else
-		EXT4_DEV=$LTP_BIG_DEV
+		export EXT4_DEV=$LTP_BIG_DEV
 	fi
 
 	tst_tmpdir
Signature · 13 lines
1.9.3


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Applied
#1 lore raw
Quoted 2 lines · Zorro Lang

ext4_get_inode_version.sh use $EXT4_DEV, but it really doesn't know what is $EXT4_DEV. That cause other cases which use ext4_get_inode_version.sh to fail.

Applied, thank you.

Wanlong Gao

Quoted 12 lines
---
 testcases/kernel/fs/ext4-new-features/ext4_funcs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/fs/ext4-new-features/ext4_funcs.sh +0 -0
index 0ae534a..b51e942 100755

testcases/kernel/fs/ext4-new-features/ext4_funcs.sh ext4_setup() · line 51

Quoted 8 lines
testcases/kernel/fs/ext4-new-features/ext4_funcs.sh +1 -1
@@ -45,7 +45,7 @@ ext4_setup()
 	if [ -z "$LTP_BIG_DEV" ];then
 		tst_brkm TCONF "tests need a big block device(5G-10G)"
 	else
-		EXT4_DEV=$LTP_BIG_DEV
+		export EXT4_DEV=$LTP_BIG_DEV
 	fi
 
 	tst_tmpdir

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list