<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pexpect.git/tests/test_which.py, branch asyncio_utf8_issue</title>
<subtitle>github.com: pexpect/pexpect.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/'/>
<entry>
<title>Use a unicode name to assert which()</title>
<updated>2015-09-21T19:58:29+00:00</updated>
<author>
<name>Jeff Quast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2015-09-21T19:58:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=93c792eab65abdb287236efaa14f7734d4f0ba57'/>
<id>93c792eab65abdb287236efaa14f7734d4f0ba57</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Comment on the cause for 'group executable' == no</title>
<updated>2014-12-20T02:46:35+00:00</updated>
<author>
<name>Jeff Quast</name>
<email>jquast@io.com</email>
</author>
<published>2014-12-20T02:46:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=4242c4605a1de8d3c282e6a5a0b16977b34789ec'/>
<id>4242c4605a1de8d3c282e6a5a0b16977b34789ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for running as root on Solaris, using</title>
<updated>2014-08-25T07:02:51+00:00</updated>
<author>
<name>Jeff Quast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2014-08-25T07:02:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=31e56b446b9b7c491a0fc91dbc80d111345c8b00'/>
<id>31e56b446b9b7c491a0fc91dbc80d111345c8b00</id>
<content type='text'>
'isroot' check.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'isroot' check.
</pre>
</div>
</content>
</entry>
<entry>
<title>Closes issue #104 -- cannot execute sudo(8)</title>
<updated>2014-08-25T06:46:10+00:00</updated>
<author>
<name>jquast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2014-08-25T06:46:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=67e6c4ac018a0dabe50962beba537612cfb4fa22'/>
<id>67e6c4ac018a0dabe50962beba537612cfb4fa22</id>
<content type='text'>
Previously, misinterpreted that os.access(file, X_OK)
always returns True on Solaris.  Yes, but only for
the uid of 0. Python issue #13706 closed "not a bug"
reads to "just use os.stat()", so we went to great
lengths to do so quite exhaustively.

But this is wrong -- *only* when root, should we check
the file modes -- os.access of X_OK works perfectly
fine for non-root users.

And, we should only check if any of the executable bits
are set.  Alas, it is true, you may execute that which
you may not read -- because as root, you can always read
it anyway.

Verified similar solution in NetBSD test.c (/bin/test),
OpenBSD ksh for its built-in test, and what FreeBSD/Darwin
for their implementation of which.c.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, misinterpreted that os.access(file, X_OK)
always returns True on Solaris.  Yes, but only for
the uid of 0. Python issue #13706 closed "not a bug"
reads to "just use os.stat()", so we went to great
lengths to do so quite exhaustively.

But this is wrong -- *only* when root, should we check
the file modes -- os.access of X_OK works perfectly
fine for non-root users.

And, we should only check if any of the executable bits
are set.  Alas, it is true, you may execute that which
you may not read -- because as root, you can always read
it anyway.

Verified similar solution in NetBSD test.c (/bin/test),
OpenBSD ksh for its built-in test, and what FreeBSD/Darwin
for their implementation of which.c.
</pre>
</div>
</content>
</entry>
<entry>
<title>Expand on tests/test_which.py</title>
<updated>2014-06-08T03:35:05+00:00</updated>
<author>
<name>jquast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2014-06-08T03:35:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=cb7cbd21186e67815fb487277b6f0ac479f74d44'/>
<id>cb7cbd21186e67815fb487277b6f0ac479f74d44</id>
<content type='text'>
Mainly, regarding os.defpath, os.environ['PATH'],
absolute, relative, and symlinks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mainly, regarding os.defpath, os.environ['PATH'],
absolute, relative, and symlinks.
</pre>
</div>
</content>
</entry>
<entry>
<title>Separate which tests into test_which.py</title>
<updated>2014-06-08T02:47:17+00:00</updated>
<author>
<name>jquast</name>
<email>contact@jeffquast.com</email>
</author>
<published>2014-06-08T02:47:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=0ea3c658cd1ca16a08e8e07d685f5b10c4002366'/>
<id>0ea3c658cd1ca16a08e8e07d685f5b10c4002366</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
