summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build: Generate executables in subdirectoriesPatrick McDermott2023-07-067-16/+17
|
* TODO: UpdatePatrick McDermott2023-07-051-2/+7
|
* opk/write: Fix memory leaksPatrick McDermott2023-07-051-2/+2
| | | | | | | | | | | | | opk->temp_file_name wasn't freed when either of the _opkg_opk_opk_build_inner_archive() calls failed. Fixes: Direct leak of 73 byte(s) in 1 object(s) allocated from: #0 0x7fde9c5c4d28 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1d28) #1 0x563aeebbc4e8 in opkg_opk_opk_write src/opk/write.c:512 #2 0x563aeebb4351 in main src/main.c:357 #3 0x7fde9bc5b2e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
* mknod: Deduplicate error cleanupPatrick McDermott2023-07-051-24/+16
|
* tests: Check specials file contentsPatrick McDermott2023-07-051-1/+7
|
* mknod: Find path relative to pkg data dirPatrick McDermott2023-07-052-3/+25
| | | | All tests now pass.
* mknod: Improve layout of specials filePatrick McDermott2023-07-051-2/+2
|
* tests: Remove node placeholderPatrick McDermott2023-07-051-1/+2
|
* mknod: Fix default modePatrick McDermott2023-07-051-1/+1
|
* mknod: Print system error stringsPatrick McDermott2023-07-052-9/+21
|
* mknod: Fix specials file writingPatrick McDermott2023-07-052-24/+24
|
* mknod: Factor getenv()/execve()/etc. out of main()Patrick McDermott2023-07-051-28/+38
|
* mknod: Share one buffer between two stringsPatrick McDermott2023-07-051-17/+4
|
* mknod: Don't exit on unknown optionPatrick McDermott2023-07-051-1/+0
|
* mknod: Factor out error printingPatrick McDermott2023-07-052-55/+47
|
* mknod: Factor strtol() out of main()Patrick McDermott2023-07-051-36/+44
|
* tests/build: Test mknodPatrick McDermott2023-06-274-6/+18
| | | | Currently doesn't work.
* helpers/mode: Fix "t" permPatrick McDermott2023-06-271-7/+23
| | | | Well that's ugly.
* tests/mode: Test "s" and "t" permsPatrick McDermott2023-06-271-1/+5
|
* helpers/mode: Fix permcopy shiftsPatrick McDermott2023-06-271-6/+6
|
* tests/mode: Add more test casesPatrick McDermott2023-06-271-2/+10
| | | | permcopy is broken.
* helpers/mode: Fix new mode initializationPatrick McDermott2023-06-271-1/+1
|
* tests: Test helpers/modePatrick McDermott2023-06-274-0/+63
|
* mknod: Parse mode option argumentPatrick McDermott2023-06-271-1/+12
|
* helpers/mode: ParsePatrick McDermott2023-06-274-1/+330
|
* TODO: UpdatePatrick McDermott2023-06-261-2/+5
|
* po: Update POTFILES.inPatrick McDermott2023-06-261-1/+2
| | | | git grep -l -- '[^_]_("'
* main: Make globals static constPatrick McDermott2023-06-261-4/+4
|
* build: Install helpers under libexecdirPatrick McDermott2023-06-262-1/+27
|
* mknod: New helper utilityPatrick McDermott2023-06-264-1/+312
|
* build: Check for mknod funcs, progPatrick McDermott2023-06-261-4/+32
| | | | | calloc(), execve(), fdopen(), mkfifo(), open(), rename(), sleep(), and mknod
* main: Report failure to read specials filePatrick McDermott2023-06-191-1/+9
|
* Fix license noticesPatrick McDermott2023-06-1820-45/+45
|
* specials.txt: Remove temporary example filePatrick McDermott2023-06-171-3/+0
| | | | Now available at tests/pkg/specials
* README: Explain chown and mknod without privsPatrick McDermott2023-06-171-4/+11
|
* opk/read: Fix device number lengthsPatrick McDermott2023-06-171-0/+6
| | | | log10(1) == 0
* tests: Test -s optionPatrick McDermott2023-06-171-8/+7
|
* main: Add -s optionPatrick McDermott2023-06-171-2/+15
|
* opk/write: Fix temporary archive file name bufferPatrick McDermott2023-06-171-1/+1
|
* Merge branch 'feature/test-suite'Patrick McDermott2023-06-1714-0/+1077
|\
| * tests: Verify contents of built packagePatrick McDermott2023-06-171-1/+22
| |
| * tests: Add common functions (copied from opkbuild)Patrick McDermott2023-06-172-1/+71
| |
| * tests: Add package build testPatrick McDermott2023-06-173-1/+38
| |
| * tests: Make version test always return truePatrick McDermott2023-06-171-0/+2
| |
| * tests: Add package work areaPatrick McDermott2023-06-175-0/+14
| |
| * tests: Add version output testPatrick McDermott2023-06-172-1/+38
| |
| * tests: Drop `set -x`Patrick McDermott2023-06-171-2/+0
| |
| * build: Add test frameworkPatrick McDermott2023-06-176-0/+898
|/ | | | | | | | build-aux/tap-driver.sh: https://git.savannah.gnu.org/cgit/automake.git/plain/lib/tap-driver.sh tests/aux/tap-functions.sh: https://git.savannah.gnu.org/cgit/automake.git/plain/t/ax/tap-functions.sh
* opk/write: Handle specials overridesPatrick McDermott2023-05-281-0/+22
|
* opk/write: Simplify goto blocksPatrick McDermott2023-05-281-39/+23
| | | | Also fixes "warning: label ‘out0’ defined but not used".