]> git.donarmstrong.com Git - debhelper.git/blobdiff - t/dh_link
r1762: * Add another test-case for dh_link.
[debhelper.git] / t / dh_link
index 68c7d4e573b488aa8d1b04ea967e71872b2e9070..198b522c01d8e0d2689adcf450f4afd7299a09fc 100755 (executable)
--- 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");