Репозитории ALT
S: | 2.39.2-alt1 |
5.1: | 2.16.1-alt1 |
4.1: | 2.13-alt8 |
4.0: | 2.12r-alt6 |
3.0: | 2.12q-alt1 |
Группа :: Система/Основа
Пакет: util-linux
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: util-linux-tests.patch
Скачать
Скачать
--- util-linux-2.16.1/tests/run.sh.fix59 2009-09-07 19:59:58 +0400
+++ util-linux-2.16.1/tests/run.sh 2009-09-07 20:00:00 +0400
@@ -16,24 +16,9 @@
# GNU General Public License for more details.
#
TS_TOPDIR=$(cd $(dirname $0) && pwd)
-comps=$(find $TS_TOPDIR/ts/ -type f -perm /a+x -regex ".*/[^\.~]*" | sort)
-
-if [ -n "$1" ]; then
- if [ -d "$TS_TOPDIR/ts/$1" ]; then
- comps=$(find $TS_TOPDIR/ts/$1 -type f -perm /a+x -regex ".*/[^\.~]*" | sort)
- else
- echo
- echo "usage: $0 [<component>]"
- echo "supported components:"
- for ts in $comps; do
- echo -e "\t$(basename $(dirname $ts))"
- done | sort -u
- echo
- exit 1
- fi
-fi
+comps=$(find $TS_TOPDIR/ts/ -type f -perm /a+x -regex ".*/[^\.~]*" "$@" | sort)
echo
echo "------------------ Utils-linux-ng regression tests ------------------"
echo
@@ -43,9 +28,9 @@ echo
res=0
count=0
for ts in $comps; do
- $ts "$1"
+ $ts
res=$(( $res + $? ))
count=$(( $count + 1 ))
done
--- util-linux-2.16.1/tests/expected/look/separator.fix59 2009-09-07 20:15:48 +0400
+++ util-linux-2.16.1/tests/expected/look/separator 2009-09-07 20:15:50 +0400
@@ -1 +1 @@
-apple-pie
+applepie