/usr/lib/obs/tests/appliance/0030-installed-files.t is in obs-server 2.7.4-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #!/bin/bash
#
export BOOTSTRAP_TEST_MODE=1
export NON_INTERACTIVE=1
export BASH_TAP_ROOT=$(dirname $0)
#
. $(dirname $0)/bash-tap-bootstrap
#
plan tests 7
for i in \
$DESTDIR/etc/logrotate.d/obs-server\
$DESTDIR/etc/init.d/obssrcserver\
$DESTDIR/etc/init.d/obsdodup\
$DESTDIR/usr/sbin/obs_admin\
$DESTDIR/usr/sbin/obs_serverstatus
do
[[ -e $i ]]
is $? 0 "Checking $i"
done
for i in \
$DESTDIR/usr/sbin/rcobssrcserver\
$DESTDIR/usr/sbin/rcobsdodup
do
[[ -L $i ]]
is $? 0 "Checking $i"
done
|