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
parent
fd7f3746e3
commit
dd562b1efd
|
@ -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=$?
|
||||||
|
|
Loading…
Reference in New Issue