summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-07-05 00:06:02 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-07-05 00:06:02 (EDT)
commitd04efca4e86bcbee253911865d37e153f4730ee1 (patch)
tree7ef6016603f522b0c1ce83dda3e66c0c4c0b358f
parenta87167806219bb536c86e603e9e38f68a54d654b (diff)
tests/exe/ob-installdocs.sh: Check link dest
-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" ]