tazpkg view tests/test02 @ rev 953

revision of german messages
author Hans-G?nter Theisgen
date Mon Oct 09 17:16:43 2017 +0100 (2017-10-09)
parents
children
line source
1 #!/bin/sh
2 #
3 . /lib/libtaz.sh
4 check_root
5 ROOT='/tmp/test'
7 title 'Test #02'
8 colorize 033 "$(longline "Install package without dependencies.")"
9 newline
11 ########
12 tazpkg --root=$ROOT --nodeps -gi nano
13 ########
15 installed="$(ls $ROOT/var/lib/tazpkg/installed)"
16 if [ "$installed" != 'nano' ]; then
17 colorize 31 "ERROR. Expected package 'nano' installed. Given: '$installed' Exit test"
18 exit 1
19 fi
21 footer "$(colorize 32 'Test #02 passed')"
22 exit 0