Commit 3f8f3d58 authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Replaced bash-specific substitution for usage with /bin/sh.

Rev: src/nettle/testsuite/run-tests:1.3
parent 5b6cf80b
#! /bin/bash #! /bin/sh
failed=0 failed=0
all=0 all=0
...@@ -14,16 +14,17 @@ env_program () { ...@@ -14,16 +14,17 @@ env_program () {
test_program () { test_program () {
"./$1" "./$1"
testname=`echo "$1" | sed -e 's/-test//'`
case "$?" in case "$?" in
0) 0)
echo PASS: ${1%-test} echo PASS: $testname
all=`expr $all + 1` all=`expr $all + 1`
;; ;;
77) 77)
echo SKIP: ${1%-test} echo SKIP: $testname
;; ;;
*) *)
echo FAIL: ${1%-test} echo FAIL: $testname
failed=`expr $failed + 1` failed=`expr $failed + 1`
all=`expr $all + 1` all=`expr $all + 1`
;; ;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment