Fix rpath bug.

This commit is contained in:
Graydon Hoare 2012-01-09 16:11:25 -08:00
parent a736669fb6
commit f6ecbe88ca
2 changed files with 14 additions and 11 deletions

View file

@ -218,8 +218,8 @@ mod test {
#[test]
fn test_prefix_rpath() {
let res = get_install_prefix_rpath("/usr/lib", "triple");
assert str::ends_with(res, #env("CFG_PREFIX")
+ "/lib/rustc/triple/lib");
let d = fs::connect(#env("CFG_PREFIX"), "/lib/rustc/triple/lib");
assert str::ends_with(res, d);
}
#[test]