aboutsummaryrefslogtreecommitdiff
path: root/tests/chattr.test
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-02-01 22:39:09 -0600
committerRob Landley <rob@landley.net>2020-02-01 22:39:09 -0600
commitda60fb13dc52c7ab337157953785e1bd1bb95460 (patch)
treee59ee2686867bd7d11f878dfb6213c5be982b674 /tests/chattr.test
parent49912d6f47311d087ce007129a945e48199bfbac (diff)
downloadtoybox-da60fb13dc52c7ab337157953785e1bd1bb95460.tar.gz
Now that both sed instances are using -E, we don't need to call it twice.
Diffstat (limited to 'tests/chattr.test')
-rwxr-xr-xtests/chattr.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/chattr.test b/tests/chattr.test
index 2e580cfb..d7dec0bc 100755
--- a/tests/chattr.test
+++ b/tests/chattr.test
@@ -17,8 +17,8 @@ function clean()
# inlined in the inode (N), or use indexed directories, so strip those out.
# We also don't want to rely on chattr(1) to set a known version number or
# project number, so blank out any numbers.
- sed -E 's/, (Encrypted|Extents|Indexed_directory|Inline_Data)//g;' |
- sed -E 's/[EeIN]-/--/g; s/[0-9]+/_/g'
+ sed -E -e 's/, (Encrypted|Extents|Indexed_directory|Inline_Data)//g;' \
+ -e 's/[EeIN]-/--/g; s/[0-9]+/_/g'
}
mkdir testattr