Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

713 B
Raw Blame
#!/usr/bin/env bash
# Pure ownership/order checks on all platforms; real native Windows checks only
# when run on Windows. Never starts/stops a WSL distro or system service.
set -euo pipefail
cd "$(dirname "$0")/../.."
python3 tests/contracts/test-wsl-stack.py -v
case "$(uname -s)" in
    MINGW*|MSYS*|CYGWIN*)
        powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass \
            -File tests/contracts/test-wsl-lifecycle.ps1
        powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass \
            -File tests/contracts/test-wsl-lifecycle-output.ps1
        ;;
    *) printf '%s\n' 'SKIP: native Windows lifecycle tests require Windows; no Scheduler/WSL runtime claim.' ;;
esac