Commit Graph

6 Commits

Author SHA1 Message Date
ArenM
7e763717d4 Limit scripts in path for tests
shellspec adds spec/support/bin to the path, so we can put scripts that
should always be available here.

Also don't source sxmo_common.sh in the helper, if scripts don't do it
themselves we shouldn't do it for them in the tests.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
2022-12-05 11:55:37 -08:00
Stacy Harper
a2405f6d57 Fix shellspec 2022-11-15 13:41:55 +01:00
Anjandev Momi
1123c0f072 Change license to AGPL-3.0-only 2022-03-15 08:00:00 -04:00
ArenM
d1e025f1f7 Don't wait multiple times
The wait command will wait for all process known to the shell if no
arguments are passed, so in these cases looping does nothing.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
2022-02-20 10:48:24 +01:00
Stacy Harper
d3e56c2c1a Fix sxmo_mutex lock file 2022-02-15 12:00:53 +01:00
ArenM
119dc6c2bc Add tests for sxmo_mutex.sh
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2022-02-15 09:39:46 +01:00