Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-forge/blob/main/server/tests/fake/rad # interplane-forge INTERPLANE Forge Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-forge / server / tests / fake / rad` 14 lines ยท 828 bytes Raw Blame History 1 #!/bin/sh 2 # Fake rad for server/tests/counts.sh: "rad node routing --rid rad: --json" prints three routing 3 # rows for plus one row of another repository (forged must not count it). Exits 1 when the file 4 # radfail sits next to this script (the "not measured" case). Builtins only: forged runs it with an 5 # empty environment apart from HOME. 6 d=${0%/*} 7 if [ -e "$d/radfail" ]; then 8 exit 1 9 fi 10 [ "$1 $2 $3 $5" = "node routing --rid --json" ] || exit 2 11 printf '{"rid":"%s","nid":"`z6MkfZDue1TbaNFi3ZzcD9uiTeduPLC52ucdFVuLKZwexxhK`"}\n' "$4" 12 printf '{"rid":"%s","nid":"`z6MkmMcXpKKc9GvEsoJnxJVrUJXmQ6mjfFk4MvTZoNuvGyqB`"}\n' "$4" 13 printf '{"rid":"%s","nid":"`z6MkrUqT4k9nv1WdPMoEV1Xw9YxmSSKfwLQQL9mje4HXkZLL`"}\n' "$4" 14 printf '{"rid":"rad:z6do9WDBhuSnvopDkgFdFr1yWA62","nid":"`z6MkrUqT4k9nv1WdPMoEV1Xw9YxmSSKfwLQQL9mje4HXkZLL`"}\n'