about summary refs log tree commit diff
path: root/tests/filter-source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/filter-source.sh')
-rw-r--r--tests/filter-source.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/filter-source.sh b/tests/filter-source.sh
index 4880969ba7ad..96ccaedca028 100644
--- a/tests/filter-source.sh
+++ b/tests/filter-source.sh
@@ -5,9 +5,11 @@ mkdir $TEST_ROOT/filterin
 mkdir $TEST_ROOT/filterin/foo
 touch $TEST_ROOT/filterin/foo/bar
 touch $TEST_ROOT/filterin/xyzzy
+ln -s xyzzy $TEST_ROOT/filterin/link
 
 $NIX_BIN_DIR/nix-build ./filter-source.nix -o $TEST_ROOT/filterout
 
 set -x
 test ! -e $TEST_ROOT/filterout/foo/bar
 test -e $TEST_ROOT/filterout/xyzzy
+test ! -L $TEST_ROOT/filterout/link