Login
7 branches 0 tags
Benjamin Vincent Schulenburg Greatly improved filesystem module loader b27d56d 3 years ago 889 Commits
nujel / tests / testsuite / standalone.nuj
; Nujel - Copyright (C) 2020-2021 - Benjamin Vincent Schulenburg
; This project uses the MIT license, a copy should be included under /LICENSE


[#t [file/dir? "stdlib"]]
[#f [file/file? "stdlib"]]
[#t [file/file? "GNUmakefile"]]
[#f [file/dir? "GNUmakefile"]]
[#f [ref [file/stat "GNUmakefile"] :error?]]
[#t [ref [file/stat "This-file-should-never-exist.jpeg"] :error?]]
[#t [> [ref [file/stat "GNUmakefile"] :size] 1024]]
[#t [int? [ref [file/stat "GNUmakefile"] :modification-time]]]
[#t [int? [ref [file/stat "GNUmakefile"] :access-time]]]
[#t [boolean? [ref [file/stat "GNUmakefile"] :regular-file?]]]
[#t [boolean? [ref [file/stat "GNUmakefile"] :directory?]]]
[#t [boolean? [ref [file/stat "GNUmakefile"] :character-device?]]]
[#t [boolean? [ref [file/stat "GNUmakefile"] :block-device?]]]
[#t [boolean? [ref [file/stat "GNUmakefile"] :named-pipe?]]]
[#t [tree? System/Environment]]
[#t [string? [ref System/Environment 'PATH]]]