]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-604401-files-are-directories
link DependencyData structs together
[apt.git] / test / integration / test-bug-604401-files-are-directories
index e6913edcffe5505242aa59929da51ad3ebf4fa96..fe0ccc7837e04fbb12fd7b8d41a4235a2bf7ee3d 100755 (executable)
@@ -57,7 +57,7 @@ echo 'Package: apt
 Pin: release a=now
 Pin-Value: 1000' > rootdir/etc/apt/good-link.pref
 ln -s rootdir/etc/apt/good-link.pref rootdir/etc/apt/preferences
-test -n "$(aptcache policy | grep 1000)" && msgfail || msgpass
+test -n "$(aptcache policy | grep '1000 ')" && msgfail || msgpass
 rm rootdir/etc/apt/preferences
 
 msgtest "Broken link instead of a file as preferences ignored"