| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* move from bashunit to shunit2
move run-tests.sh to test
simplify build.yml
* back shunit2 to submodule
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
update `test/signtest` with the following improvements:
* add function `cat_key` to manage secret keys as heredocs of ascii-armored
content
* add function `checked_import_key` to manage/verify secret key imports
* add function `create_sign_verify` to create, sign, and verify signatures on
makeself archives
* remove the two existing tests and add four new tests:
* `testSingleKey`: test simple sign/verify with one existing key
* `testMultipleKeys`: test more complicated sign/verify when more than one
key is present (this would have caught issue #257)
* `testWrongKey`: ensure that using the wrong key fails signature
verification
* `testWrongPassword`: ensure that using the wrong password fails to create a
signature
|
|
|
|
|
|
|
| |
* edit `makeself.sh`: change the LSM_CMD from `cat` to `awk 1` when generating
the LSM content into the archive
* add `test/lsmtest`: verify the correct functionality of three different LSM
files; i.e., empty, single line, and single line without trailing newline.
|
| |
|
|
|
| |
Co-authored-by: Stéphane Peter <megastep@megastep.org>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* fix #235: remove $OSTYPE from header
* account for current release with VERSION file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The decompression command specified by `--compress` does not match the
semantics required by the `--append` operation. Change the decompression
command for the `--compress` to match those of the other compression options.
edit `makeself.sh`:
* try to locate `gzip` and `compress` commands and set the `COMPRESS` variable
appropriately. Change `COMPRESS` value for `compress` from `Unix` to
`compress`.
* change switch block to match new value
* change `GUNZIP_CMD` from `exec` expression to subshell that uses either
`compress` (detected) or `gzip` (default)
* in the append extraction, `eval "$GUNZIP_CMD"`
edit `test/appendtest`:
* be clever with the way we setup the test archives
* test every compression option, if we have the required command
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add test to check ARCHIVE_DIR variable
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
* Fix not handling spaces correctly
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
* Test two more vars
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
* Made test simplier and dash compliant
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix initial bug
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
* Improve append test a little
- Make the append test require the files get bigger at least
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
* Better append test improvement
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
|
| |
|
| |
|
|
|
|
|
|
|
| |
Printing path to the file instead of content of the file was introduced
in 56c742bd90ebcb22feaff4d78ae4e62e72ffc7ad
Reverting parsing of the license file to the way it was before that
commit and escaping argument with quotes to address the original issue
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix #48 --append functionality
* Fix #48 --append functionality
Also adds some additional testing to the appendtest to catch
previously uncaught failure modes.
* Use size of uncompressed tar for USIZE
Change covers the corner case where files are updated in the archive
during an --append. Removes the necessity for the OLDUSIZE variable.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added option chown and made nochown default. This can also be specified at creation of the file
* Added test. makeself default invocation shouldn't destroy suid bits
* Typo. Corrected description of --nochown and --chown
* Corrected datetest not working on computers with different locale
* Small change to directory name and remove duplicated line
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* don't use `xargs -0` because it's not well supported
* use `sed 's/./\\&/g'` to properly quote whitespace in paths
* add test unit for whitespace-containing paths
This patch addresses comments made in github pull request #151 regarding
whitespace-containing filenames and stable sorted inputs.
References on lacking `xargs -0`:
* http://nixdoc.net/man-pages/HP-UX/man1/xargs.1.html
* http://nixdoc.net/man-pages/IRIX/man1/xargs.1.html
* http://nixdoc.net/man-pages/Tru64/man1/xargs.1.html
* https://www.unix.com/man-page/sunos/1/xargs
References on using find with xargs:
* http://www.etalabs.net/sh_tricks.html
|
|
|
|
|
|
| |
* add append unit test before changes to fix append. Note the assert change, since it always passed before
* fix the unit tests so they fail when appropriate, at least on osx
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Needed to enable the byte-for-byte identical package when
packaging the same source twice.
|
|
|