blob: fbc2f9b56a9dfaf8ce283643dbbcf01f7987f42d [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
19 $ts | sed '{
20 s/^\(.*\):\(.*\) \.\.\. OK$/PASS: \1:\2/
21 s/^\(.*\):\(.*\) \.\.\. FAILED \(.*\)$/FAIL: \1:\2 \3/
22 s/^\(.*\):\(.*\) \.\.\. SKIPPED \(.*\)$/SKIP: \1:\2 \3/
23 }'
24done
25