Mercurial > octave-nkf
diff test/octave.test/system/tilde_expand-1.m @ 2742:eeb061f9cdbf
[project @ 1997-02-26 04:29:07 by jwe]
author | jwe |
---|---|
date | Wed, 26 Feb 1997 04:29:48 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/octave.test/system/tilde_expand-1.m Wed Feb 26 04:29:48 1997 +0000 @@ -0,0 +1,4 @@ +x = getpwuid (getuid ()); +(strcmp (x.dir, tilde_expand ("~")) + && strcmp (x.dir, tilde_expand (sprintf ("~%s", x.name))) + && strcmp ("foobar", tilde_expand ("foobar")))