diff options
author | 2011-04-10 14:52:08 +0100 | |
---|---|---|
committer | 2011-04-10 14:52:08 +0100 | |
commit | 1972903cd360269d807af9d4b4f7bd45ddf00981 (patch) | |
tree | 999f55bb145785ce34280d56acb108fce0542c9c | |
parent | fa4ad9ce271f981aca98f77c42d3e8d20eea44bb (diff) | |
download | paludis-1972903cd360269d807af9d4b4f7bd45ddf00981.tar.gz paludis-1972903cd360269d807af9d4b4f7bd45ddf00981.tar.xz |
Test that symlinks are installed as symlinks
-rw-r--r-- | paludis/repositories/e/e_repository_TEST_pbin.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/repositories/e/e_repository_TEST_pbin.cc b/paludis/repositories/e/e_repository_TEST_pbin.cc index 948272a14..8667ee043 100644 --- a/paludis/repositories/e/e_repository_TEST_pbin.cc +++ b/paludis/repositories/e/e_repository_TEST_pbin.cc @@ -293,5 +293,9 @@ TEST(Symlinks, Works) EXPECT_TRUE((root / ("symlinks-a")).stat().exists()); EXPECT_TRUE((root / ("symlinks-b")).stat().exists()); EXPECT_TRUE((root / ("symlinks-c")).stat().exists()); + + EXPECT_TRUE((root / ("symlinks-a")).stat().is_symlink()); + EXPECT_TRUE((root / ("symlinks-b")).stat().is_regular_file()); + EXPECT_TRUE((root / ("symlinks-c")).stat().is_symlink()); } |