summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorjoey <joey>2005-06-13 16:04:10 +0000
committerjoey <joey>2005-06-13 16:04:10 +0000
commit46a21fd82209577d6ba69c79d243889ea4f3d332 (patch)
tree5fb08d46170b758512a98403b028a8c218ac9f27 /t
parent90f4f5db1d9f9c5af67fa5e58f89211dc00c7fb2 (diff)
r1762: * Add another test-case for dh_link.
* dh_python: Minimal fix from Joss for -V to make it search the right site-packages directories. Closes: #312661 *
Diffstat (limited to 't')
-rwxr-xr-xt/dh_link4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/dh_link b/t/dh_link
index 68c7d4e..198b522 100755
--- a/t/dh_link
+++ b/t/dh_link
@@ -1,6 +1,6 @@
#!/usr/bin/perl
use Test;
-plan(tests => 7);
+plan(tests => 8);
# It used to not make absolute links in this situation, and it should.
# #37774
@@ -10,6 +10,8 @@ ok(readlink("debian/debhelper/usr/lib/bar"), "/etc/foo");
# let's make sure it makes simple relative links ok.
system("./dh_link","usr/bin/foo","usr/bin/bar");
ok(readlink("debian/debhelper/usr/bin/bar"), "foo");
+system("./dh_link","sbin/foo","sbin/bar");
+ok(readlink("debian/debhelper/sbin/bar"), "foo");
# ok, more complex relative links.
system("./dh_link","usr/lib/1","usr/bin/2");