summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/exe/ob-installdocs.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/exe/ob-installdocs.sh b/tests/exe/ob-installdocs.sh
index fe54b8a..d55f116 100755
--- a/tests/exe/ob-installdocs.sh
+++ b/tests/exe/ob-installdocs.sh
@@ -22,7 +22,7 @@ set -eu
. "${TOP_SRCDIR}/tests/aux/tap-functions.sh"
. "${TOP_SRCDIR}/tests/aux/common.sh"
-plan_ 10
+plan_ 11
rm -Rf *'.data/'
@@ -39,3 +39,7 @@ for f in 'copyright' 'changelog.dist' 'README.upstream'; do
[ -f "foo.data/usr/share/doc/foo:i686-linux-glibc/${f}" ]
done
command_ok_ 'link created' -- [ -L 'bar.data/usr/share/doc/bar' ]
+
+command_ok_ 'link destination' -- \
+ [ "x$(ls -l 'bar.data/usr/share/doc/bar' | sed 's/^.* -> //')" = \
+ "x/usr/share/doc/foo:i686-linux-glibc" ]