Ben Iofel
6517bfd21d
Package missing bins for deb, rpm, and macports ( #360 )
2022-08-06 09:35:32 -04:00
Tom Limoncelli
8091467952
Improve test data generation ( #348 )
...
* Improve test data generation
* Add homebrew to "make test" path
2022-03-16 13:29:31 -04:00
Tom Limoncelli
5ce3c9370f
Revert "[wip] Fix how vcs_relative_path first resolves an absolute path"
...
This reverts commit a7fd514569 .
Sadly this doesn't work in all cases (if the file doesn't exist) and
fails on MacOS (I think).
2020-05-27 08:03:12 -04:00
Tom Limoncelli
6ae742aa7a
Make the /etc/profile.d script executable
2020-05-26 19:31:24 +00:00
James Ottaway
a7fd514569
[wip] Fix how vcs_relative_path first resolves an absolute path
2020-05-14 09:49:49 -04:00
James Ottaway
72253818be
Call vcs_ignore bwfore the file is shredded
2020-05-14 09:49:49 -04:00
James Ottaway
6761bfc356
Add a test for blackbox_cat
2020-05-14 09:49:49 -04:00
Travis Paul
fd3ad2fcea
Add better support for NetBSD and SunOS in test scripts.
2018-11-30 10:59:21 +08:00
Tom Limoncelli
ab1430b74d
Testing: Fix confidence test.
2018-10-03 10:46:07 -04:00
r-savu
dc9fa326f4
Improved compatibility: change"/bin/[x]" to "/usr/bin/env [x]" ( #265 )
...
changed paths of the form "/bin/[x]" into "/usr/bin/env [x]" (#265 )
2018-08-13 10:39:15 -04:00
Aymeric Beaumet
2e894ea86f
Run the tests on a CI ( #215 )
...
* Add CircleCI and make tests pass on ubuntu:16.04
* Add badge to readme
* Add debian stable to CircleCI
* Fix pkill on CircleCI debian
2017-09-15 11:15:12 -04:00
Tom Limoncelli
7c4fa4f4be
tools/confidence_test.sh: Add explicit test for external tools.
2017-06-01 09:48:25 -04:00
Tom Limoncelli
9006c04c66
tools/auto_system_test: Add comments.
2017-06-01 09:48:13 -04:00
Tom Limoncelli
7029e44453
tools/confidence_test.sh: "export LANG=C.UTF-8" to be safe.
2017-05-29 19:37:56 -04:00
Tom Limoncelli
48cc17ac0a
"make test" now uses "expect" to not prompt for passwords.
2017-05-29 19:31:26 -04:00
Tom Limoncelli
d78faf59d0
tools/confidence_test.sh: Set pinentry program to pinentry-tty
2017-05-29 19:09:36 -04:00
Tom Limoncelli
7649c9f00b
Fix https://github.com/StackExchange/blackbox/issues/193
...
Add unit tests to tools/confidence_test.sh to verify admin operations work.
2017-05-15 11:10:01 -04:00
tlimoncelli@stackoverflow.com
1a22f77c82
Improve FreeBSD compatibility
2017-05-15 07:50:30 -04:00
tlimoncelli@stackoverflow.com
4bc97049ab
tools/confidence_test.sh: now works with gnupg-2.0 and gnupg-2.1
2017-05-14 18:48:59 -04:00
tlimoncelli@stackoverflow.com
50ac1697c3
tools/confidence_test.sh: now works with gnupg-2.0 again
2017-05-14 17:52:27 -04:00
tlimoncelli@stackoverflow.com
eaa6d06b3e
tools/confidence_test.sh: Handle gpg 2.1's new pubring filename.
2017-05-13 11:12:53 -04:00
Tom Limoncelli
49892c307c
Sync mk_rpm_fpmdir from master
2017-05-04 10:23:10 -04:00
Tom Limoncelli
2d1410599d
Fixing "make confidence" (HT to 98b928c0e8)
2017-02-20 16:47:33 +00:00
tlimoncelli@stackexchange.com
57dc69a928
Merge branch 'feature-listadmins' of https://github.com/jvanasco/blackbox into jvanasco-feature-listadmins
2016-10-07 16:19:13 -04:00
Jason Price
598896ef48
Add list admins commandline tool. ( #170 )
...
* adding a list_admins command
* updating README and V2 ideas to include list_admins
* fix documentation misses
* add list_admins to the toolchain
2016-10-06 11:26:43 -04:00
jonathan vanasco
435a3c073f
added blackbox_listadmins, which just displays active admins via cat "$BB_ADMINS"
2016-04-25 12:53:36 -04:00
tal@whatexit.org
1643ea7fd9
"make confidence": Use GID numbers, not names. Makes tests less fragile.
2016-03-15 21:22:29 -04:00
tal@whatexit.org
3a4a79284c
Add more debugging output to "make confidence"
2016-03-15 19:14:09 -04:00
tlimoncelli@stackoverflow.com
d2fde2c2a9
Merge upstream mk_rpm_fpmdir
2016-02-29 16:53:33 +00:00
tlimoncelli@stackoverflow.com
7e175e5d9c
Merge from upstream.
2016-02-29 16:25:27 +00:00
Tom Limoncelli
9f6c3f15c0
Merge pull request #140 from unixorn/make-package-iteration-iterate
...
Set release default to the number of commits in the repo instead of always using 1
2016-02-28 10:32:20 -05:00
Joe Block
673eaae95b
Deal with being built within a burst tarball instead of a git clone
2016-02-27 06:50:50 -08:00
Joe Block
982f2f0045
Set release default to the number of commits in the repo instead of always using 1
2016-02-26 14:38:12 -08:00
Joe Block
e004ebb384
Make OUTPUTDIR overridable
...
Users (like me on my Jenkins server) may not want to put output debs and
rpms in ~.
2016-02-26 13:35:15 -08:00
tlimoncelli@stackexchange.com
8fab12de6b
Improve MacPorts update script and documentation based on feedback in https://trac.macports.org/ticket/48464
2015-07-31 15:36:55 -04:00
tlimoncelli@stackexchange.com
23cc07d1e3
Fix #107
2015-07-24 13:26:18 +00:00
tlimoncelli@stackexchange.com
aee22fc99d
Reorganize tests
...
* Split out test helper functions into tools/test_functions.sh
* bin/_blackbox_common_test.sh: Unit-tests for functions.
* blackbox_postdeploy: Use cp_permissions instead of chmod --reference
2015-07-24 09:01:00 -04:00
Bob Example
1d6d65af13
resolution to past zeal with double quotes.
2015-07-10 21:16:12 -04:00
tlimoncelli@stackexchange.com
6765988274
Bug: Packages are missing blackbox_deregister_file.
2015-07-09 22:52:42 -07:00
tlimoncelli@stackexchange.com
f5eeffd043
confidence_test.sh: assert_file_group() fails if gid name includes space.
2015-07-03 15:05:31 +00:00
tlimoncelli@stackexchange.com
521d108df9
confidence_test.sh: Verify that invalid key names get an error
2015-06-20 20:05:52 +00:00
tlimoncelli@stackexchange.com
d45625086a
blackbox_register_new_file: Accept multiple files on the command line.
2015-06-20 15:54:08 +00:00
tlimoncelli@stackexchange.com
c0dda22c9c
Bug: blackbox_deregister_file deletes blackbox-files.txt
...
* Clarified symantics of blackbox_deregister_file in comments.
* Added confidence test
2015-06-20 15:39:32 +00:00
tlimoncelli@stackexchange.com
12943b3021
Update confidence tests
...
* assert_line_exists: error message text is reversed.
* Update assertions to work with newer ignore processing.
* Report "SUCCESS" not just "DONE".
2015-06-15 20:30:20 +00:00
tlimoncelli@stackexchange.com
161117242e
Packages should be built for all architectures
2015-06-14 19:33:21 -04:00
tlimoncelli@stackexchange.com
592c726b1d
Update file list
2015-06-02 11:38:24 -04:00
tlimoncelli@stackexchange.com
02700b547a
Update comments and add newly added files to packages.
2015-06-02 15:37:06 +00:00
tlimoncelli@stackexchange.com
4a5787cad8
Add support for using the commands outside of a repo.
2015-05-01 15:44:09 +00:00
tlimoncelli@stackexchange.com
d5a82166f3
tools/confidence_test.sh: Test that locked out user can't decrypt.
2015-03-19 15:02:05 -07:00
tlimoncelli@stackexchange.com
225d38ee11
BACKWARDS INCOMPATIBLE CHANGES:
...
* Using $BASEDIR to pass the location of the repo hasn't worked for a
while. It has been removed. Simply cd into the vcs repo before
running a command.
BUG FIXES:
* .gitignore was being created in subdirectories instead of VCS root.
MINOR CHANGES
* _blackbox_common.sh: Replace change_to_root with change_to_vcs_root
* confidence_test.sh: Added more assertions and tests.
2015-03-10 21:16:27 +00:00