Skip to content
Snippets Groups Projects
Commit 153b958f authored by Niels Möller's avatar Niels Möller
Browse files

* examples/run-tests (test_program): Use basename.

Rev: src/nettle/examples/run-tests:1.3
parent 384d11dc
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ env_program () {
}
test_program () {
testname=`echo "$1" | sed -e 's,-test$,,' -e 's,^.*/,,'`
testname=`basename "$1" -test`
"$1"
case "$?" in
0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment