spk view testsuite.sh @ rev 95
spk-up: improve extra local package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 25 16:42:10 2012 +0200 (2012-05-25) |
parents | 6cc8c13c4ab4 |
children |
line source
1 #!/bin/sh
2 #
3 . /lib/libtaz.sh
5 newline
6 boldify "Checking: spk bc"
7 ./spk bc
8 #boldify "Checking: spk-add bc"
9 #./spk-add bc bc --forced
10 #boldify "Checking: spk-rm bc"
11 #./spk-rm bc
13 # Check libspk.sh functions usage.
14 echo -n $(boldify "Checking: libspk.sh functions")
15 indent 34 $(colorize 32 $(grep "[a-z]() {" lib/libspk.sh | wc -l))
16 separator
17 grep "[a-z]() {" lib/libspk.sh | while read line
18 do
19 func=`echo "$line" | cut -d '(' -f 1`
20 echo -n "Checking: ${func}()"
21 indent 34 "$(grep "$func" spk* | wc -l)"
22 done
23 separator
24 echo "Run slitaz-base-files testsuite.sh to check libpkg.sh"
25 newline
26 exit 0