about summary refs log tree commit diff
path: root/src/test/stdtest/path.rs
blob: 5f7c34c5e058a326a95107644a8efebfd8e9209b (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");
}