correct num regexp

This commit is contained in:
Alexey Fedoseev
2024-04-27 11:49:28 +03:00
parent b9f95a25dd
commit 7e684b7f30

View File

@@ -13,7 +13,7 @@ echo "tests ready!"
echo echo
for t in $(ls tests/*.test); do for t in $(ls tests/*.test); do
num=$(echo $t | grep -Poe '\d+') num=$(echo $t | grep -Poe '\d\d')
echo -n "$num $t... " echo -n "$num $t... "
if [ -f "$t-input.graphml" -o -f "tests/$num-output.txt" ] if [ -f "$t-input.graphml" -o -f "tests/$num-output.txt" ]
then then