Commit Graph

161 Commits

Author SHA1 Message Date
Luke Shumaker 87ea82b6fa systemd-osi-shell: Fix exit status 2018-08-20 02:55:36 -04:00
Luke Shumaker 2fd704f868 osi-mk: Don't bother re-running genfstab with --edit if we didn't reset FSID 2018-08-20 02:32:29 -04:00
Luke Shumaker 4474c62e3c pull utf-8 setup in to a module 2018-08-19 18:41:56 -04:00
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