blob: 8c57bd20740f3ee535f585ae7fbabbc91188e05f [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001#!/bin/sh
2
3cd tests || exit 1
4
5comps=$(find ts/ -type f -perm -111 -regex ".*/[^\.~]*" | sort)
6
7
8echo
9echo "-------------------- util-linux regression tests --------------------"
10echo
11echo " For development purpose only. "
12echo " Don't execute on production system! "
13echo
14
15res=0
16count=0
17for ts in $comps;
18do
Brad Bishopd89cb5f2019-04-10 09:02:41 -040019 $ts | sed -u '{
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050020 s/^\(.*\):\(.*\) \.\.\. OK$/PASS: \1:\2/
21 s/^\(.*\):\(.*\) \.\.\. FAILED \(.*\)$/FAIL: \1:\2 \3/
22 s/^\(.*\):\(.*\) \.\.\. SKIPPED \(.*\)$/SKIP: \1:\2 \3/
23 }'
24done
25