From 75f7b390cec524974b13bf510e970947134003fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Thu, 18 Mar 2004 16:15:23 +0100
Subject: [PATCH] (test_program): Strip .exe suffix from name.

Rev: misc/run-tests:1.2
---
 run-tests | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/run-tests b/run-tests
index 87a04a46..f96e5433 100755
--- a/run-tests
+++ b/run-tests
@@ -27,7 +27,8 @@ env_program () {
 }
 
 test_program () {
-  testname=`basename "$1" -test`
+  testname=`basename "$1" .exe`
+  testname=`basename "$testname" -test`
   "$1"
   case "$?" in
       0)
-- 
GitLab