<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/python/samba/tests/reparsepoints.py, branch talloc-2.4.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>python:tests: Remove semicolons</title>
<updated>2023-10-13T03:50:31+00:00</updated>
<author>
<name>Joseph Sutton</name>
<email>josephsutton@catalyst.net.nz</email>
</author>
<published>2023-08-16T23:09:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=af61444d7a58d1b05aa8cad552ac778dc56b552a'/>
<id>af61444d7a58d1b05aa8cad552ac778dc56b552a</id>
<content type='text'>
Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Test error codes for SET_REPARSE_POINT</title>
<updated>2022-12-05T15:06:32+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2022-12-02T09:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=0996ccdb821692f037eb1f6f2c01490aa7ab062e'/>
<id>0996ccdb821692f037eb1f6f2c01490aa7ab062e</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Try setting a 0-sized reparse point</title>
<updated>2022-12-05T15:06:32+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2022-12-02T09:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=96580c8e1957776a8564fc73363f30259827a686'/>
<id>96580c8e1957776a8564fc73363f30259827a686</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Fix use of self.assertRaises()</title>
<updated>2022-12-05T15:06:32+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2022-12-02T08:26:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f10f259eaebdb98f5e0827482e98f5abeb65e55c'/>
<id>f10f259eaebdb98f5e0827482e98f5abeb65e55c</id>
<content type='text'>
The with statement creates a new variable. I thought it opens a block
where "e" is only valid in that block. But instead it runs the whole
thing, expecting an exception somewhere. Learning python....

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The with statement creates a new variable. I thought it opens a block
where "e" is only valid in that block. But instead it runs the whole
thing, expecting an exception somewhere. Learning python....

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Show that we can write to a reparse point file</title>
<updated>2022-12-05T15:06:32+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2022-12-01T14:14:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=73233bc341e0dfe6cb61a638707567e79e639b28'/>
<id>73233bc341e0dfe6cb61a638707567e79e639b28</id>
<content type='text'>
Works against Windows 2016

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Works against Windows 2016

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Show that a directory with a reparse point can't be populated</title>
<updated>2022-12-05T15:06:32+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2022-12-01T13:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=62302849dd9477a46684462db4106664d8d787e9'/>
<id>62302849dd9477a46684462db4106664d8d787e9</id>
<content type='text'>
Works against Windows 2016

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Works against Windows 2016

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: IO_REPARSE_TAG_NOT_HANDLED is acceptable for unlink</title>
<updated>2022-12-05T15:06:32+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2022-12-01T13:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7fe3fab655e92d8906f196d7984a2cd99e8462c1'/>
<id>7fe3fab655e92d8906f196d7984a2cd99e8462c1</id>
<content type='text'>
This happens when a path has an unknown reparse point in the middle

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This happens when a path has an unknown reparse point in the middle

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Start testing reparsepoints</title>
<updated>2022-11-22T18:27:33+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2022-11-10T17:31:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=45091febd2aaeb9b030c8c14a4f44fe6e7f297bf'/>
<id>45091febd2aaeb9b030c8c14a4f44fe6e7f297bf</id>
<content type='text'>
This still all fails, but if you run them against Windows they work.

How to run:

PYTHONPATH=bin/python \
LOCAL_PATH=/tmp \
SMB1_SHARE=share \
SMB2_SHARE=share \
SHARENAME=share \
SERVER_IP=&lt;server-ip&gt; \
DOMAIN=&lt;your-domain&gt; \
USERNAME=Administrator \
PASSWORD=&lt;your-password&gt; \
SMB_CONF_PATH=/usr/local/samba/etc/smb.conf \
SERVERCONFFILE="$SMB_CONF_PATH" \
python3 -m samba.subunit.run samba.tests.reparsepoints

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This still all fails, but if you run them against Windows they work.

How to run:

PYTHONPATH=bin/python \
LOCAL_PATH=/tmp \
SMB1_SHARE=share \
SMB2_SHARE=share \
SHARENAME=share \
SERVER_IP=&lt;server-ip&gt; \
DOMAIN=&lt;your-domain&gt; \
USERNAME=Administrator \
PASSWORD=&lt;your-password&gt; \
SMB_CONF_PATH=/usr/local/samba/etc/smb.conf \
SERVERCONFFILE="$SMB_CONF_PATH" \
python3 -m samba.subunit.run samba.tests.reparsepoints

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
