search for: secondtest

Displaying 5 results from an estimated 5 matches for "secondtest".

2014 Jan 13
0
[PATCH] New API: copy-attributes.
...grep uid: +stat /foo | grep gid: +chown 10 11 /foo +stat /foo | grep uid: +stat /foo | grep gid: +stat /bar | grep uid: +stat /bar | grep gid: +copy-attributes /foo /bar ownership:true +stat /bar | grep uid: +stat /bar | grep gid: + +echo ----- + +setxattr user.test foo 3 /foo +setxattr user.test2 secondtest 10 /foo +setxattr user.foo another 7 /bar +lxattrlist / "foo bar" +copy-attributes /foo /bar xattributes:true +lxattrlist / "foo bar" + +echo ----- + +touch /new +chmod 0111 /new +copy-attributes /foo /new all:true mode:false +stat /new | grep mode: +stat /new | grep uid: +stat...
2014 Jan 07
0
Re: RFC: copy-attributes command
...single guestfish run? The reason is that under virtualization (especially in Koji), appliance start up can be slow. > +part-disk /dev/sda mbr > +mkfs ext2 /dev/sda1 > +mount /dev/sda1 / > + > +touch /foo > +touch /bar > +setxattr user.test foo 3 /foo > +setxattr user.test2 secondtest 10 /foo > +setxattr user.foo another 7 /bar > +lxattrlist / "foo bar" > +copy-attributes /foo /bar xattributes:true > +lxattrlist / "foo bar" > +EOF > + > +if [ "$(cat test.out)" != "[0] = { > + attrname: > + attrval: 2\x00 > +} &g...
2014 Jan 07
8
RFC: copy-attributes command
Hi, attached there is a prototype of patch for adding a new copy-attributes command. Such command would allow copy the attributes of a "file" to another, so for example in guestfish: copy-attributes foo bar permissions:true xattributes:false would only copy the permissions of foo to bar, not copying its extended attributes too. Just few notes: - my first daemon command, so
2014 Sep 23
0
[PATCH 13/13] syntax-check: fix trailing_blank check
...diff --git a/fish/test-file-attrs.sh b/fish/test-file-attrs.sh index 55d602c..bd0c5fa 100755 --- a/fish/test-file-attrs.sh +++ b/fish/test-file-attrs.sh @@ -85,7 +85,7 @@ uid: 10 gid: 11 ----- [0] = { - attrname: + attrname: attrval: 2\x00 } [1] = { @@ -97,7 +97,7 @@ gid: 11 attrval: secondtest } [3] = { - attrname: + attrname: attrval: 1\x00 } [4] = { @@ -105,7 +105,7 @@ gid: 11 attrval: another } [0] = { - attrname: + attrname: attrval: 2\x00 } [1] = { @@ -117,7 +117,7 @@ gid: 11 attrval: secondtest } [3] = { - attrname: + attrname: attrval: 3\x00 } [...
2014 Sep 23
27
[PATCH 00/13] syntax-check
Hi Rich, This series includes patches to make `make syntax-check` pass. Some of the fix require change to maint.mk, but the file is not in git repo. Is it intended? Thanks! Hu Tao (13): syntax-check: dirty hack to pass bindtextdomain check syntax-check: fix error_message_period check syntax-check: fix makefile_at_at_check syntax-check: fix prohibit_assert_without_use check