diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2023-01-01 18:57:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-01 16:57:11 +0000 |
commit | ad96efb02c27ec22116fb5800b48a6c9df27958f (patch) | |
tree | 1ee09144ba4fa70c248c6b4bd15434f54174def8 /test | |
parent | 6756ee83f8c86d0f844b2dec2cb034b379951e2d (diff) | |
download | libvfio-user-ad96efb02c27ec22116fb5800b48a6c9df27958f.zip libvfio-user-ad96efb02c27ec22116fb5800b48a6c9df27958f.tar.gz libvfio-user-ad96efb02c27ec22116fb5800b48a6c9df27958f.tar.bz2 |
test: use `grep -E` instead of `egrep` (#728)
`egrep` has been deprecated in GNU grep since 2007,
and since 3.8 it emits obsolescence warnings:
https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-linkage.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-linkage.sh b/test/test-linkage.sh index 307468f..ca89a58 100755 --- a/test/test-linkage.sh +++ b/test/test-linkage.sh @@ -41,7 +41,7 @@ tmpfile=$(mktemp /tmp/libvfio-user.test-linkage.XXXXXX.c) cat >$tmpfile <<EOF int main() { -$(egrep '^[a-z_0-9]+\(' $header | sed 's+(.*+();+;') +$(grep -E '^[a-z_0-9]+\(' $header | sed 's+(.*+();+;') } EOF |