Repositories / jai.git

tests/job-control.sh

Clone (read-only): git clone http://git.guha-anderson.com/git/jai.git

Branch
520 bytes · 9a4c25dc845b
#!/bin/sh . ./common.sh setup_test job-control require_built_helper "$JAI_TEST_PROBE" require_built_helper "$JAI_TEST_PTY_DRIVER" init_config capture run_jai_launcher "$JAI_TEST_PTY_DRIVER" \ --jai-bin "$JAI_BIN" \ --helper-bin "$JAI_TEST_PROBE" \ --config-dir "$CONFIG_DIR" \ --workdir "$WORKDIR" \ --user "$REAL_USER" \ --new-pgrp \ --foreground \ --signal=stop if [ "$CAPTURE_STATUS" -ne 0 ]; then printf '%s\n' "$CAPTURE_STDERR" >&2 fail 'own-process-group SIGSTOP job-control path failed' fi