git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f376db
)
Add a build test for the 'umask' command.
author
Richard Jones
<rjones@redhat.com>
Sat, 17 Apr 2010 11:38:18 +0000
(12:38 +0100)
committer
Richard Jones
<rjones@redhat.com>
Sat, 17 Apr 2010 11:38:18 +0000
(12:38 +0100)
src/generator.ml
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
87855e7
..
b97584a
100755
(executable)
--- a/
src/generator.ml
+++ b/
src/generator.ml
@@
-3018,9
+3018,8
@@
mode C<mode> and device major/minor C<devmajor> and C<devminor>.
It is just a convenient wrapper around C<guestfs_mknod>.");
("umask", (RInt "oldmask", [Int "mask"]), 137, [FishOutput FishOutputOctal],
- [], (* XXX umask is one of those stateful things that we should
- * reset between each test.
- *)
+ [InitEmpty, Always, TestOutputInt (
+ [["umask"; "0o22"]], 0o22)],
"set file mode creation mask (umask)",
"\
This function sets the mask used for creating new files and