<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fscrypt.git/cli-tests/common.sh, branch v0.3.5</title>
<subtitle>Go tool for managing Linux filesystem encryption
</subtitle>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/'/>
<entry>
<title>cli-tests: add helper functions to get protector descriptors</title>
<updated>2021-12-23T17:39:08+00:00</updated>
<author>
<name>Eric Biggers</name>
<email>ebiggers@google.com</email>
</author>
<published>2021-12-23T17:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=57be034ce4700fb07c10b771628c1c63d8483d09'/>
<id>57be034ce4700fb07c10b771628c1c63d8483d09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cli-tests/common.sh: remove argument count checks</title>
<updated>2021-09-14T21:48:11+00:00</updated>
<author>
<name>Eric Biggers</name>
<email>ebiggers@google.com</email>
</author>
<published>2021-09-14T21:27:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=1db83610c3361f2663d908ad3b9b96fde48ac225'/>
<id>1db83610c3361f2663d908ad3b9b96fde48ac225</id>
<content type='text'>
These confuse the latest version of shellcheck into thinking that
functions which take no arguments actually take arguments, which
triggers a bunch of warnings like "Use func "$@" if function's $1 should
mean script's $1", which causes 'make lint' to fail.  These checks
aren't too useful, so just remove them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These confuse the latest version of shellcheck into thinking that
functions which take no arguments actually take arguments, which
triggers a bunch of warnings like "Use func "$@" if function's $1 should
mean script's $1", which causes 'make lint' to fail.  These checks
aren't too useful, so just remove them.
</pre>
</div>
</content>
</entry>
<entry>
<title>cli-tests: force processes spawned by 'expect' to have 80 column-output</title>
<updated>2020-11-26T09:08:36+00:00</updated>
<author>
<name>Eric Biggers</name>
<email>ebiggers@google.com</email>
</author>
<published>2020-11-21T23:29:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=7280a5e81ecc1092bcec58e3fb7f494fc6d95dfa'/>
<id>7280a5e81ecc1092bcec58e3fb7f494fc6d95dfa</id>
<content type='text'>
Otherwise the cli tests fail when executed from GitHub Actions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the cli tests fail when executed from GitHub Actions.
</pre>
</div>
</content>
</entry>
<entry>
<title>cli-tests/common.sh: fix _user_do()</title>
<updated>2020-11-08T04:46:57+00:00</updated>
<author>
<name>Eric Biggers</name>
<email>ebiggers@google.com</email>
</author>
<published>2020-11-08T04:30:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=4d37d7eaedae964cf72e82ec959a2482916faa1b'/>
<id>4d37d7eaedae964cf72e82ec959a2482916faa1b</id>
<content type='text'>
Apparently, on some distros 'su' doesn't preserve $PATH.  So, manually
export it in the command.  Also, ensure that the shell stays as bash.

This is needed for some of the CLI tests to pass in Travis CI.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apparently, on some distros 'su' doesn't preserve $PATH.  So, manually
export it in the command.  Also, ensure that the shell stays as bash.

This is needed for some of the CLI tests to pass in Travis CI.
</pre>
</div>
</content>
</entry>
<entry>
<title>cli-tests/t_v1_policy: clean up user keyrings at end of test</title>
<updated>2020-06-13T17:06:15+00:00</updated>
<author>
<name>Eric Biggers</name>
<email>ebiggers@google.com</email>
</author>
<published>2020-06-13T17:06:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=c39fc85f8045bb24f773a3eb5dee7738cdc4339f'/>
<id>c39fc85f8045bb24f773a3eb5dee7738cdc4339f</id>
<content type='text'>
The test user's user keyring is still linked into root's user keyring at
the end of the test.  This is making the test flaky, as there is a
failure that only occurs the first time it is run.  Fix the test to
restore the initial state.  This makes it consistently fail (to be fixed
by the next commit).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test user's user keyring is still linked into root's user keyring at
the end of the test.  This is making the test flaky, as there is a
failure that only occurs the first time it is run.  Fix the test to
restore the initial state.  This makes it consistently fail (to be fixed
by the next commit).
</pre>
</div>
</content>
</entry>
<entry>
<title>Add cli-tests framework</title>
<updated>2020-05-09T21:04:47+00:00</updated>
<author>
<name>Eric Biggers</name>
<email>ebiggers@google.com</email>
</author>
<published>2020-05-09T21:04:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=3619eed4515cf51161cfa7c57be4f330cd07e377'/>
<id>3619eed4515cf51161cfa7c57be4f330cd07e377</id>
<content type='text'>
Add a framework for writing automated tests of the fscrypt command-line
tool.  See cli-tests/README.md for details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a framework for writing automated tests of the fscrypt command-line
tool.  See cli-tests/README.md for details.
</pre>
</div>
</content>
</entry>
</feed>
