diff options
Diffstat (limited to 'io/ftwtest-sh')
-rw-r--r-- | io/ftwtest-sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io/ftwtest-sh b/io/ftwtest-sh index 2fed2ed..dc495d5 100644 --- a/io/ftwtest-sh +++ b/io/ftwtest-sh @@ -231,7 +231,7 @@ LD_LIBRARY_PATH=$objpfx $ldso $testprogram --skip-siblings=lvl1 $tmpdir | # If lvl1b comes after lvl1, it shouldn't be printed, while if it # comes before, it should. catcmd=cat -[ -n "`ls -U $tmpdir/foo/ | sed -n '/lvl1$/,${/lvl1b$/p}'`" ] \ +[ -n "`ls -U $tmpdir/foo/ | sed -n '/lvl1$/,${/lvl1b$/p;}'`" ] \ && catcmd="grep -v lvl1b" $catcmd <<EOF | diff -u $testout - || exit 1 @@ -255,7 +255,7 @@ LD_LIBRARY_PATH=$objpfx $ldso $testprogram --skip-siblings=file@1b $tmpdir | # If file[23]@1b come after file@1b, it shouldn't be printed, while if they # come before, they should. regexp=`echo $(ls -U /tmp/ftwtest.d/foo/lvl1b \ - | sed -n '/file@1b$/,${/file[23]@1b$/p}') | sed 's, ,|,'` + | sed -n '/file@1b$/,${/file[23]@1b$/p;}') | sed 's, ,|,'` catcmd=cat [ -n "$regexp" ] && catcmd="egrep -v $regexp" |