<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/bash-completion.git/test/config, branch sudo</title>
<subtitle>salsa.debian.org: debian/bash-completion.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/'/>
<entry>
<title>(testuite) Fix tests to run with autotools' make distcheck</title>
<updated>2010-11-12T22:35:36+00:00</updated>
<author>
<name>Freddy Vulto</name>
<email>fvulto@gmail.com</email>
</author>
<published>2010-11-12T22:35:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/commit/?id=c86b336769cdc025a63c13bf3448ce5d5019a563'/>
<id>c86b336769cdc025a63c13bf3448ce5d5019a563</id>
<content type='text'>
File locations are prefixed with `$::srcdir' so that `make distcheck' can
execute the test suite using a relative path.

The current working directory is removed from the test-suite-bash-prompt.

Furthermore, no more dynamic creation of files in dir $::srcdir/fixtures since
this dir is read-only during `make distcheck'.  Instead create dynamic files in
$TESTDIR/tmp

The test suite uses these "directory" variables

   tcl            bash          description
   ------------   -----------   ------------------------------------
   $::srcdir      $SRCDIR       where `fixtures' reside, relative
   $::srcdirabs   $SRCDIRABS    where `fixtures' reside, absolute
   $::TESTDIR     $TESTDIR      where `runtest' is invoked, absolute
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
File locations are prefixed with `$::srcdir' so that `make distcheck' can
execute the test suite using a relative path.

The current working directory is removed from the test-suite-bash-prompt.

Furthermore, no more dynamic creation of files in dir $::srcdir/fixtures since
this dir is read-only during `make distcheck'.  Instead create dynamic files in
$TESTDIR/tmp

The test suite uses these "directory" variables

   tcl            bash          description
   ------------   -----------   ------------------------------------
   $::srcdir      $SRCDIR       where `fixtures' reside, relative
   $::srcdirabs   $SRCDIRABS    where `fixtures' reside, absolute
   $::TESTDIR     $TESTDIR      where `runtest' is invoked, absolute
</pre>
</div>
</content>
</entry>
<entry>
<title>(testsuite) Moved tool_start() code to tool_init()</title>
<updated>2010-11-05T20:11:57+00:00</updated>
<author>
<name>Freddy Vulto</name>
<email>fvulto@gmail.com</email>
</author>
<published>2010-11-05T20:11:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/commit/?id=0367d0bf57fb058b6f7fdc7bc9902de7bf5bbd26'/>
<id>0367d0bf57fb058b6f7fdc7bc9902de7bf5bbd26</id>
<content type='text'>
${tool}_start was called from within `config/default_exp', but this
proves to be error-prone, because DejaGnu isn't fully initialized at
that point, causing an error when calling one of the DejaGnu methods
pass/fail/unsupported/xfail/unresolved/untested:

    can't read "multipass_name": no such variable

The right way seems to be calling ${tool}_start() from
${tool}_init().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
${tool}_start was called from within `config/default_exp', but this
proves to be error-prone, because DejaGnu isn't fully initialized at
that point, causing an error when calling one of the DejaGnu methods
pass/fail/unsupported/xfail/unresolved/untested:

    can't read "multipass_name": no such variable

The right way seems to be calling ${tool}_start() from
${tool}_init().
</pre>
</div>
</content>
</entry>
<entry>
<title>(testsuite) Fix eof/timeout message when unknown level</title>
<updated>2010-10-23T18:49:02+00:00</updated>
<author>
<name>Freddy Vulto</name>
<email>fvulto@gmail.com</email>
</author>
<published>2010-10-23T18:49:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/commit/?id=1017b24212af1fedf4f964e426ed2821fc60adb3'/>
<id>1017b24212af1fedf4f964e426ed2821fc60adb3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>(testsuite) Drop ending block comments</title>
<updated>2010-06-18T15:21:38+00:00</updated>
<author>
<name>Freddy Vulto</name>
<email>fvulto@gmail.com</email>
</author>
<published>2010-06-18T15:21:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/commit/?id=51b3e20ebcf5f5b598ea33a6d1d393ffa5990430'/>
<id>51b3e20ebcf5f5b598ea33a6d1d393ffa5990430</id>
<content type='text'>
Instead of writing `}; # if', write just `}' as was discussed here:

    http://www.mail-archive.com/bash-completion-devel@lists.alioth.debian.org/msg01815.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of writing `}; # if', write just `}' as was discussed here:

    http://www.mail-archive.com/bash-completion-devel@lists.alioth.debian.org/msg01815.html
</pre>
</div>
</content>
</entry>
<entry>
<title>(testsuite) Expand PATH with 'sbin' directories</title>
<updated>2010-04-22T20:22:50+00:00</updated>
<author>
<name>Freddy Vulto</name>
<email>fvulto@gmail.com</email>
</author>
<published>2010-04-22T20:22:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/commit/?id=827ad88ebb6fcee6cbf0a982584629436b411239'/>
<id>827ad88ebb6fcee6cbf0a982584629436b411239</id>
<content type='text'>
This allows for testing completions of system administrator commands,
which are installed via the same PATH expansion in
`bash_completion.have()'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows for testing completions of system administrator commands,
which are installed via the same PATH expansion in
`bash_completion.have()'
</pre>
</div>
</content>
</entry>
<entry>
<title>(testsuite) Set TERM=dummy only for non-cron</title>
<updated>2009-11-18T22:45:16+00:00</updated>
<author>
<name>Freddy Vulto</name>
<email>freddy@blondy.prov</email>
</author>
<published>2009-11-18T22:45:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/commit/?id=2a506ec3f7a7eadb142def0ff387d9185b60b46a'/>
<id>2a506ec3f7a7eadb142def0ff387d9185b60b46a</id>
<content type='text'>
Err, TERM=linux also causes errors when tests are run via cron.
Reset TERM=dummy.
Workaround is to do a CRON=running from within the cron job and only set
TERM=dummy when not run via cron.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Err, TERM=linux also causes errors when tests are run via cron.
Reset TERM=dummy.
Workaround is to do a CRON=running from within the cron job and only set
TERM=dummy when not run via cron.
</pre>
</div>
</content>
</entry>
<entry>
<title>(testsuite) Set TERM=linux</title>
<updated>2009-11-15T20:51:46+00:00</updated>
<author>
<name>Freddy Vulto</name>
<email>freddy@blondy.prov</email>
</author>
<published>2009-11-15T20:51:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/commit/?id=1bb351e22777173fd8de0f265819e49a039e6644'/>
<id>1bb351e22777173fd8de0f265819e49a039e6644</id>
<content type='text'>
The TERM=dummy setting causes backspaces (^H) to appear in stdout when running
from cron.  Changing to TERM=linux should fix the ^H's in stdout AND the bug of
`meta_on' or `meta_off' escape sequences in stdout, caused by a bug in
supposedly libreadline5:

http://old.nabble.com/-PATCH-:-fix-libreadline5-linked-applications-sending-meta_on-or-meta_off-to-stdout-td25557585.html

Steps to reproduce output of ^H with TERM=dummy:

    $ batch
    warning: commands will be executed using /bin/sh
    at&gt; ./runUnit _known_hosts_real.exp --debug &lt; /dev/tty40
    at&gt; ^D

NOTE: You need to connect a terminal (&lt; /dev/tty..) to the test suite
      when running from cron.  See also doc/testing.txt, "Running tests via
      cron".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The TERM=dummy setting causes backspaces (^H) to appear in stdout when running
from cron.  Changing to TERM=linux should fix the ^H's in stdout AND the bug of
`meta_on' or `meta_off' escape sequences in stdout, caused by a bug in
supposedly libreadline5:

http://old.nabble.com/-PATCH-:-fix-libreadline5-linked-applications-sending-meta_on-or-meta_off-to-stdout-td25557585.html

Steps to reproduce output of ^H with TERM=dummy:

    $ batch
    warning: commands will be executed using /bin/sh
    at&gt; ./runUnit _known_hosts_real.exp --debug &lt; /dev/tty40
    at&gt; ^D

NOTE: You need to connect a terminal (&lt; /dev/tty..) to the test suite
      when running from cron.  See also doc/testing.txt, "Running tests via
      cron".
</pre>
</div>
</content>
</entry>
<entry>
<title>Testsuite: avoid readline escape junk at beginning of line.</title>
<updated>2009-11-10T18:45:59+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2009-11-10T18:45:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/commit/?id=571e2fb7e19b41263e2ec1d14c542f76618e022a'/>
<id>571e2fb7e19b41263e2ec1d14c542f76618e022a</id>
<content type='text'>
See e.g. http://bugs.gentoo.org/246091
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See e.g. http://bugs.gentoo.org/246091
</pre>
</div>
</content>
</entry>
<entry>
<title>new indentation policy</title>
<updated>2009-10-04T17:42:50+00:00</updated>
<author>
<name>Guillaume Rousse</name>
<email>guillaume@oberkampf.msr-inria.inria.fr</email>
</author>
<published>2009-10-04T17:42:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/commit/?id=506e1cb3ebfbab7cfd4e93c15c8b36ae7df168b4'/>
<id>506e1cb3ebfbab7cfd4e93c15c8b36ae7df168b4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tell *Emacs to indent comments (sh-indent-comment: t).</title>
<updated>2009-10-01T17:54:51+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2009-10-01T17:54:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/bash-completion.git/commit/?id=369980bf9315edbab1c9bdcaa10fcb505f59defd'/>
<id>369980bf9315edbab1c9bdcaa10fcb505f59defd</id>
<content type='text'>
Also move indentation settings to end of files and expand *Emacs ones to
local variables block to avoid overflowing 80 char lines.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also move indentation settings to end of files and expand *Emacs ones to
local variables block to avoid overflowing 80 char lines.
</pre>
</div>
</content>
</entry>
</feed>
