blob: 82fe54413d93fc43ac300200f5e629486ac89dba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Testing a few of the path manipuation functions
use std;
import std::fs;
import std::os;
#[test]
fn test() {
assert (!fs::path_is_absolute(~"test-path"));
log ~"Current working directory: " + os::getcwd();
log fs::make_absolute(~"test-path");
log fs::make_absolute(~"/usr/bin");
}
|