Line 0
Link Here
|
|
|
1 |
--- tests/r_inline_xattr/script.orig 2017-04-09 19:31:41 UTC |
2 |
+++ tests/r_inline_xattr/script |
3 |
@@ -10,8 +10,8 @@ gunzip < $IMAGE > $TMPFILE |
4 |
echo "resize2fs test" > $OUT |
5 |
|
6 |
# Look at existing inline extended attribute |
7 |
echo "debugfs -R ''stat file'' test.img 2>&1 | grep ''^Inode\|in inode body\|user.name (''" >> $OUT |
8 |
-$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep "^Inode\|in inode body\|user.name (" >> $OUT |
9 |
+$DEBUGFS -R "stat file" $TMPFILE 2>&1 | egrep "^Inode|in inode body|user.name \(" >> $OUT |
10 |
status=$? |
11 |
echo Exit status is $status >> $OUT |
12 |
|
13 |
@@ -23,8 +23,8 @@ echo Exit status is $status >> $OUT.new |
14 |
sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT |
15 |
|
16 |
# Look at inline extended attribute in resized fs |
17 |
echo "debugfs -R ''stat file'' test.img 2>&1 | grep ''^Inode\|in inode body\|user.name (''" >> $OUT |
18 |
-$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep "^Inode\|in inode body\|user.name (" >> $OUT |
19 |
+$DEBUGFS -R "stat file" $TMPFILE 2>&1 | egrep "^Inode|in inode body|user.name \(" >> $OUT |
20 |
status=$? |
21 |
echo Exit status is $status >> $OUT |
22 |
|