about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-05-14 10:25:13 -0400
committerAlex Crichton <alex@alexcrichton.com>2013-05-14 14:11:30 -0400
commit2ab1da5b011bf9a71f6e2bca0c124302aba50c1a (patch)
tree8f2397cb2290be8823278b429eb11e15d3ee1467
parent8b87fd7ec0c170481dbd1ca335497383f2dee891 (diff)
downloadrust-2ab1da5b011bf9a71f6e2bca0c124302aba50c1a.tar.gz
rust-2ab1da5b011bf9a71f6e2bca0c124302aba50c1a.zip
Fix rustpkg tests now that they're in a different location
-rw-r--r--src/librustpkg/tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustpkg/tests.rs b/src/librustpkg/tests.rs
index 7f0bfa25086..e661e758d41 100644
--- a/src/librustpkg/tests.rs
+++ b/src/librustpkg/tests.rs
@@ -79,10 +79,10 @@ fn is_rwx(p: &Path) -> bool {
 
 fn test_sysroot() -> Path {
     // Totally gross hack but it's just for test cases.
-    // Infer the sysroot from the exe name and tack "stage2"
-    // onto it. (Did I mention it was a gross hack?)
+    // Infer the sysroot from the exe name and pray that it's right.
+    // (Did I mention it was a gross hack?)
     let self_path = os::self_exe_path().expect("Couldn't get self_exe path");
-    self_path.pop().push("stage2")
+    self_path.pop()
 }
 
 #[test]