test3.sh 273 Bytes
Newer Older
1
#!/bin/sh -e
Natanael Copa's avatar
Natanael Copa committed
2 3 4 5 6 7 8 9 10 11 12

# desc: test successful pre-install

$APK add --root $ROOT --initdb --repository $PWD/repo1 --repository $SYSREPO \
	-U test-c

# check that package was installed
$APK info --root $ROOT -e test-c

# check if pre-install was executed
test -f $ROOT/pre-install