view tests/getenv.ur @ 2288:98f96a976ede

Finish locking, but it's not yet tested rigorously.
author Ziv Scully <ziv@mit.edu>
date Fri, 13 Nov 2015 11:03:09 -0500
parents 94529780bbcf
children
line wrap: on
line source
task initialize = fn _ =>
  v <- getenv (blessEnvVar "USER");
  case v of
      None => debug "No USER"
    | Some u => debug u