Age | Commit message (Collapse) | Author |
|
But don't edit them yet.
This directory structure is based on that of dbscripts.
|
|
Instead of using in inconsistent mish-mash of `mkdir` and `echo >` and
`printf >>`, use more readable and identifiable indented-heredocs:
install -Dm644 /dev/stdin "FILENAME" <<-eot
CONTENTS
eot
|
|
Instead, make the default before() an alias for common_before(), which test
files can call if they override before().
|
|
codes
The name "status" was chosen because BATS initializes status=0; if we
switch from Roundup to BATS, our common setup won't need set it
anymore.
Accomplish this with:
$ sed -ri -e 's/\$(stat|ret|r)\b/$status/g' -e 's/\b(stat|ret|r)=/status=/g' test/*.sh
$ sed -ri '/^\s*(local\s+)?status=0$/d' test/*-test.sh
|
|
|
|
|
|
libredbdiff used VARNAME for Parabola variables, and VARNAME_arch for Arch
variables. I found it confusing. Instead, consistently use VARNAME_prbl
for Parabola variables and VARNAME_arch for Arch variables; this allows the
reader to more easily see the parallels between the handling of each.
|
|
|
|
Also make the minimal changes to the program to make this testing possible.
|