Commit Graph

108 Commits

Author SHA1 Message Date
Luke Shumaker 8e999aa7eb osi-mk: Add --package-file, improve help text 2018-08-18 17:50:57 -04:00
Luke Shumaker 091c1712e8 README: add sed to list of deps 2018-08-18 14:48:21 -04:00
Luke Shumaker e9d8fb64ba COPYING.md: markup a bit 2018-08-18 14:45:20 -04:00
Luke Shumaker 5f09173cb0 mention COPYING.AGPL.txt from COPYING.md 2018-08-18 14:43:43 -04:00
Luke Shumaker 661a960195 copyright statements/identifiers 2018-08-18 14:42:42 -04:00
Luke Shumaker e06e7bbf59 convert integration test log to TAP 2018-08-18 14:19:41 -04:00
Luke Shumaker d1ae89aaf9 fixup meson2tap 2018-08-18 14:19:11 -04:00
Luke Shumaker d2178c7b16 add a README file 2018-08-18 13:32:19 -04:00
Luke Shumaker 1bec95dbb3 Generate a TAP file for the unit tests 2018-08-18 13:31:20 -04:00
Luke Shumaker a804dc133f Some of the tests require UTF-8. 2018-08-17 22:23:02 -04:00
Luke Shumaker 3975036c57 TODO.md: Update unit tests 2018-08-17 21:43:00 -04:00
Luke Shumaker 37af28b465 runtests: merge the unit logs back together 2018-08-17 17:52:18 -04:00
Luke Shumaker bdf396f8b8 update TODO with comments 2018-08-17 17:52:18 -04:00
Luke Shumaker a9bbe16aa7 runtests: Add pyparsing for unit tests 2018-08-17 17:18:01 -04:00
Luke Shumaker c82ca058b3 osi-mk.d: osi-shell: Do a proper login 2018-08-17 17:17:50 -04:00
Luke Shumaker f3d0f31c9a TODO.md: Update SKIP list 2018-08-17 16:07:24 -04:00
Luke Shumaker c0843d9230 runtests: Run unit tests as root 2018-08-17 14:59:13 -04:00
Luke Shumaker 4a314e2ff8 add TODO.md 2018-08-17 14:58:44 -04:00
Luke Shumaker b69cf2d041 runtests: Add extended list of unit tests 2018-08-17 14:33:41 -04:00
Luke Shumaker 3e22969c24 fix the last of the integration tests 2018-08-17 13:04:18 -04:00
Luke Shumaker 0209341075 Make more tests pass 2018-08-17 11:21:45 -04:00
Luke Shumaker 22a018e40a runtests: Default to the last stable version, rather than master 2018-08-16 22:07:55 -04:00
Luke Shumaker 255f1d0158 make more integration tests pass 2018-08-16 21:50:05 -04:00
Luke Shumaker 4d55c9a2ba make more integration tests pass 2018-08-16 20:23:35 -04:00
Luke Shumaker 6fc3d79827 osi-shell: Allow setting qemu args 2018-08-16 17:20:19 -04:00
Luke Shumaker 814fb5a60d get at least a few of the integration tests passing 2018-08-16 15:58:39 -04:00
Luke Shumaker 77bf673550 osi-shell: Use VNC to hide the window 2018-08-16 14:47:56 -04:00
Luke Shumaker 1bb26b9161 runtests: Install packages as part of integration-tests.raw, not .log 2018-08-16 14:40:23 -04:00
Luke Shumaker 8d864769fe runtests: Fixup quoting
Only in the integration-tests.log does it make a difference, though.
2018-08-16 14:39:08 -04:00
Luke Shumaker 81961a850b runtests: run the stock integration tests 2018-08-16 02:02:25 -04:00
Luke Shumaker 7e6b34c552 osi-mk: fix
"Ignore space change" will be useful
2018-08-16 02:00:07 -04:00
Luke Shumaker 4412eedf45 runtests: ensure .log files are newer than .raw files 2018-08-16 01:48:43 -04:00
Luke Shumaker cabd888978 runtests: shrink sizes of images 2018-08-16 01:48:21 -04:00
Luke Shumaker bda8c20f39 osi-mk: Fix option checking
"Ignore space change" is useful for this one.
2018-08-16 01:42:04 -04:00
Luke Shumaker 540db8eef8 run osi stuff through shellcheck
Disable SC2064 because we use @Q rather than deferred expansion.

The only real issue found is adding `-r` to `read` in osi-shell.
2018-08-16 01:36:18 -04:00
Luke Shumaker 93ba79d3ea osi-mk: Implement --edit --size 2018-08-16 01:19:05 -04:00
Luke Shumaker bd382780bb osi-mk: Tidy arg checking, require --size for new images 2018-08-16 01:18:06 -04:00
Luke Shumaker 904d2c43e1 runtests: Tidy
- format the base.raw rule more like the other rules
 - drop the `script` bits to simulate a TTY, osi-shell runs things with a
   TTY
2018-08-15 15:10:40 -04:00
Luke Shumaker b5dfd387ba osi-mk.d: dhcpcd: Avoid TLS failures 2018-08-15 15:05:16 -04:00
Luke Shumaker 9aa93cbd17 abs/: sync with abslibre 2018-08-15 11:42:31 -04:00
Luke Shumaker f61ce11643 replace osi-run with osi-shell 2018-08-14 21:15:21 -04:00
Luke Shumaker a3e647985f osi-run: Fix quoting 2018-08-14 16:54:25 -04:00
Luke Shumaker d4bbf0e2a4 osi-mount: Fixup option parsing 2018-08-14 16:54:09 -04:00
Luke Shumaker 4731f00bf0 osi-mk: Changing FSID breaks a few things, fix them 2018-08-14 16:53:02 -04:00
Luke Shumaker 291bd36a62 getopt doesn't safely "roundtrip" flags with an optional argument 2018-08-14 16:19:07 -04:00
Luke Shumaker 7d6a5fdf70 fix error messages ${@@Q} -> ${*@Q} 2018-08-14 16:18:17 -04:00
Luke Shumaker 0e72442e94 osi-mount: Simplify
I think that a lot of the hacks are unnescessary and are fixed by the FSID
thing.
2018-08-14 16:08:32 -04:00
Luke Shumaker 164904cdae osi-mk: Edit the fsid when editing a copy 2018-08-14 16:04:07 -04:00
Luke Shumaker ee05d5c7cc f 2018-08-14 11:37:29 -04:00
Luke Shumaker 17a2f20f89 be careful about detaching loop devices
umount should do this automatically, but it seems to not always work
2018-08-13 02:55:40 -04:00