GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — shadow/tests/README.md at master · jjolano/shadow

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
66 lines (56 loc) · 3.74 KB
/

README.md

Copy path

File metadata and controls

66 lines (56 loc) · 3.74 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

Shadow public tests

Public tests are pure-C checks plus static contract scripts. They need make, Bash, a host C compiler, Python 3.7+, and standard shell tools; no device, Docker, iOS SDK, or engine build is required. The lane/package contract also requires THEOS to point to a directory containing bin/lane.sh; a full Theos installation is not required.

Check Command
svc path-rewrite (pure C) make -C tests verify-path-rewrite
fresh fd/DIR path policy (host doubles) make -C tests verify-fd-path-freshness
mount filtering (pure C + static query contract) make -C tests verify-mount-filter
rebind journal/repair (pure C) make -C tests verify-rebind-repair
KERN_PROCARGS2 payload filter (kernel-shaped payloads) make -C tests verify-procargs-filter
lane/package contract sh tests/verify-lane-contract.sh
binary compatibility checker (synthetic tool output) make -C tests verify-binary-compat
hook→engine matrix drift sh tests/verify-hook-matrix.sh
matrix stale-entry detector make -C tests hook-matrix-selftest
single plugin registry make -C tests verify-plugin-table
raw syscall metadata sh tests/verify-syscall-meta.sh
settings structure sh tests/verify-settings-structure.sh
JB-identifier data contract make -C tests jb-identifiers
package maintainer scripts sh tests/MaintainerScriptTests.sh

Run the public checks from the repository root:

make -C tests test
sh tests/MaintainerScriptTests.sh

The Makefile's test target does not include the maintainer-script checks.

The optional make -C tests settings-behavior compiles and executes the actual settings customization/reset helpers, local version reader, symbol guard, release parser, About getters, and Updates controller with Foundation and UI/network doubles. It checks zero requests during pane construction/lifecycle, explicit checks and retries, duplicate-click suppression, cancellation/stale callbacks, inline notes, and release URL validation. The companion structure check covers all four locales and removal of the old popup/action. It requires macOS Foundation or a host GNUstep/libobjc2 toolchain. On Linux, make -C tests settings-behavior GNUSTEP_IMAGE=<image> uses an existing Docker image containing clang and GNUstep/libobjc2, with networking disabled. Tests use an in-memory defaults double, not Shadow's domain. This check is not in test or CI and does not exercise UIKit rendering, accessibility, or live networking.

CI's .github/workflows/tests.yml runs individual checks, including maintainer scripts, rather than the aggregate target. It omits several aggregate checks, including mount filtering and JB-identifier data validation. Consult that workflow for the actual CI selection.

Mount checks cover record verdict handling and static wiring to the existing snapshot matcher, including rule precedence and absence of refresh/resolution in the query. They do not execute Foundation predicates or test device locking; custom predicates that perform I/O are outside the mount-query contract.

Binary compatibility checks exercise all four lanes with synthetic Mach-O tool output, including both deployment-load-command formats. They accept matching architecture/deployment/ABI fixtures and reject mismatches, legacy lock imports, and invalid RootHide linking. These test the checker, not actual iOS execution. Packaged lane builds separately run the checker against their real binaries.

The full engine/detector/adversary/fuzz/device harness is private and not part of this repo (no URL). The engine-linked batteries were removed from tests/Makefile. For local harness discovery, follow AGENTS.md; neither host checks nor an old harness executable verify the installed iOS harness UI.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.