summaryrefslogtreecommitdiff
path: root/t/dh_link
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 05:16:02 +0000
committerjoey <joey>1999-08-17 05:16:02 +0000
commit289f1de123932be984ef2a586cc792ae44332d29 (patch)
tree3e0fde83a3b6507633db9cc769622a495fbfc080 /t/dh_link
parente66a391f8008517c4c31873e9279a265aae0f180 (diff)
downloaddebhelper-289f1de123932be984ef2a586cc792ae44332d29.tar.gz
r221: Initial Import
Diffstat (limited to 't/dh_link')
-rw-r--r--t/dh_link6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/dh_link b/t/dh_link
index 9f644e78..8c7bfeee 100644
--- a/t/dh_link
+++ b/t/dh_link
@@ -1,6 +1,6 @@
#!/usr/bin/perl
use Test;
-plan(tests => 3);
+plan(tests => 4);
# It used to not make absolute links in this situation, and it should.
# #37774
@@ -14,3 +14,7 @@ ok("foo",readlink("debian/tmp/usr/bin/bar"));
# ok, more complex relative links.
system("./dh_link","usr/lib/1","usr/bin/2");
ok("../lib/1",readlink("debian/tmp/usr/bin/2"));
+
+# this was bug #40159. Absolute links passes to dh_link.
+system("./dh_link","/etc/X11/dfm/system.dfmext","usr/share/dfm/dfmext");
+ok("/etc/X11/dfm/system.dfmext",readlink("debian/tmp/usr/share/dfm/dfmext"));