ATF-devel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/lib/libc/ssp (fwd)

OK, previously reported problem has been resolved!

It seems that

        cmd="echo blah | prog"
        atf_check .... $cmd

doesn't do what was expected.  So I changed the test script to

        cmd="prog" ; stdin="echo blah |"
        eval $stdin atf_check .... $cmd

and it seems to work much better.   :)

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

---------- Forwarded message ----------
Date: Mon, 27 Dec 2010 05:27:34 +0000
From: Paul Goyette <>
Subject: CVS commit: src/tests/lib/libc/ssp

Module Name:    src
Committed By:   pgoyette
Date:           Mon Dec 27 05:27:34 UTC 2010

Modified Files:

Log Message:
Since atf_check doesn't deal with a pipeline, modify the tests to pipe
the output of the echo commands to atf_check itself.  This fixes the
three new ssp failures.

Note that the raw, strcpy, vsprintf, and vsnprintf tests still fail, but
they failed in the old 'regress' style, too.

To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/ssp/

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


Home | Main Index | Thread Index | Old Index