Little change, so that test script don't need test name hardcoded.
[gedcom-parse.git] / t / src / test_prologue.sh
index 979c2ae09a10f4067c497a07685401de496065a8..5a5f330bc8a73badcfc4fe54ab4df25b03f64a60 100644 (file)
@@ -13,7 +13,7 @@ do
   shift
 done
 
-test_name=$1
+test_name=`echo $1 | sed "s:.*/::" | sed "s:.test::"`
 shift
 expected_result=$1
 shift