intel: properly escape sed pattern for tests

The sed was incorrectly modifying e.g. "nicholasbishop" to
"nicholasbop". The updated pattern will only match `.sh` at the end of
the string.

Signed-off-by: Nicholas Bishop <nicholasbishop@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
main
Nicholas Bishop 2020-04-24 12:16:31 -04:00
parent fd7f3746e3
commit dd562b1efd
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
TEST_FILENAME=`echo "$0" | sed 's|.sh||'` TEST_FILENAME=`echo "$0" | sed 's|\.sh$||'`
./test_decode $TEST_FILENAME ./test_decode $TEST_FILENAME
ret=$? ret=$?