Skip to content

Commit 2ab1da5

Browse files
committed
Fix rustpkg tests now that they're in a different location
1 parent 8b87fd7 commit 2ab1da5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustpkg/tests.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ fn is_rwx(p: &Path) -> bool {
7979

8080
fn test_sysroot() -> Path {
8181
// Totally gross hack but it's just for test cases.
82-
// Infer the sysroot from the exe name and tack "stage2"
83-
// onto it. (Did I mention it was a gross hack?)
82+
// Infer the sysroot from the exe name and pray that it's right.
83+
// (Did I mention it was a gross hack?)
8484
let self_path = os::self_exe_path().expect("Couldn't get self_exe path");
85-
self_path.pop().push("stage2")
85+
self_path.pop()
8686
}
8787

8888
#[test]

0 commit comments

Comments
 (0)