173 lines
9.9 KiB
Plaintext
173 lines
9.9 KiB
Plaintext
MARS NWE 0.9.4 NDS Lab
|
|
Full upstream / Windows runtime NOT tested.
|
|
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Inds tests/test_nds_server.c nds/server.c nds/fragger.c -o build/test-nds-lab -I/usr/include/json-c -ljson-c
|
|
./build/test-nds-lab
|
|
PASS ping, context, public Resolve Name, fragment isolation, replay, close, denied auth, malformed packets and 50000 random requests
|
|
MARS_NDS_LAB=0 ./build/test-nds-lab disabled
|
|
PASS disabled or invalid model fails closed
|
|
MARS_NDS_LAB=1 MARS_NDS_LAB_CONFIG='{"tree":"X","organization":"Y","units":["A/B"]}' ./build/test-nds-lab invalid
|
|
PASS disabled or invalid model fails closed
|
|
python3 tests/test_nds_hook.py
|
|
PASS dispatcher hook compile/link fixture, rejects repeated or incompatible patch; actual upstream not tested
|
|
PASS ping, context, public Resolve Name, fragment isolation, replay, close, denied auth, malformed packets and 50000 random requests
|
|
|
|
make check-release exit 0
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 src/broker.c src/slp.c src/ncp_ip.c src/ncp_ip_config.c src/wire.c src/pcap_dyn.c src/ipxpkt.c src/gateway.c src/dhcp.c src/gateway_config.c -I/usr/include/json-c -ljson-c -ldl -o build/mars-pcapd
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -c src/shim.c -o build/shim.o
|
|
ar rcs build/libmarspcap.a build/shim.o
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Isrc tests/test_wire.c src/wire.c -o build/test-wire
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Isrc tests/test_ipc.c build/libmarspcap.a -o build/test-ipc
|
|
./build/test-wire
|
|
PASS: 4 frame types, addresses, padding, lengths, malformed frames and MTU
|
|
cc -O2 -g -Wall -Wextra -std=c11 -Inative -I/usr/include/json-c tests/test_native.c native/core.c -o build/test-native -ljson-c -lssl -lcrypto -pthread
|
|
./build/test-native
|
|
PASS merge, CRLF, unknown lines, injection rejection
|
|
PASS managed LFN server version merge
|
|
PASS backup, revision conflict, private file, traversal rejection
|
|
PASS PBKDF2, default, persistent password, wrong password
|
|
PASS validation invalid configuration and detected Ethernet interface
|
|
cc -O2 -g -Wall -Wextra -std=c11 -DMARS_TESTING -Inative -I/usr/include/json-c tests/test_supervisor.c native/supervisor.c native/core.c -o build/test-supervisor -ljson-c -lssl -lcrypto -pthread
|
|
./build/test-supervisor
|
|
PASS supervisor: start, restart, stop, restart after stop, shutdown; browser independent start, update restart, crash recovery, shutdown (mock child processes)
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Isrc tests/test_gateway.c src/ipxpkt.c src/gateway_config.c -o build/test-gateway -I/usr/include/json-c -ljson-c
|
|
./build/test-gateway
|
|
PASS: IPXPKT both sockets, little-endian IDs, fragmentation, out-of-order, duplicates, expiry, throughput, malformed data, config validation, static MAC/IP and ARP policy
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Isrc -I/usr/include/json-c tests/test_gateway_auto.c native/gateway_auto.c native/core.c src/dhcp.c src/gateway_config.c -o build/test-gateway-auto -ljson-c -lssl -lcrypto -pthread
|
|
./build/test-gateway-auto
|
|
PASS: overlapping routes, DHCP OFFER/ACK/NAK, malformed and spoofed packets
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Isrc -Iclients/windows -Iclients/windows/ndis5 tests/test_winclient.c clients/windows/client_core.c clients/windows/ndis5/frame_queue.c src/ipxpkt.c src/dhcp.c -o build/test-winclient -I/usr/include/json-c -ljson-c
|
|
./build/test-winclient
|
|
PASS: Windows client core + actual server codec/DHCP; peer validation, fragments, queue
|
|
cc -O2 -g -Wall -Wextra -std=c89 -pedantic -DMARS_LEGACY_KERNEL -Iclients/windows/ndis3 tests/test_legacy.c clients/windows/ndis3/legacy_core.c clients/windows/ndis5/frame_queue.c -o build/test-legacy
|
|
./build/test-legacy
|
|
legacy core: queue, MAC, packet filter, invalid frames, lease expiry passed
|
|
cc -O2 -g -Wall -Wextra -std=c11 -Inative -I/usr/include/json-c tests/test_print.c native/printing.c native/core.c -o build/test-print -ljson-c -lssl -lcrypto -pthread -ldl
|
|
cc -O2 -g -Wall -Wextra -std=c11 -I/usr/include/json-c native/print_stdin.c native/rawprint.c native/printing.c native/core.c -o build/mars-print -ljson-c -lssl -lcrypto -pthread -ldl
|
|
./build/test-print
|
|
CUPS probe (actual library): { "error": "Bad file descriptor" }
|
|
PASS: invalid destination rejected
|
|
cc -O2 -g -Wall -Wextra -std=c11 tests/test_raw.c native/rawprint.c -o build/test-raw
|
|
./build/test-raw
|
|
PASS: RAW TCP 9100 exact binary bytes over local TCP
|
|
cc -O2 -g -Wall -Wextra -std=c11 -Inative -I/usr/include/json-c tests/test_directory.c native/directory.c native/core.c -o build/test-directory -ljson-c -lssl -lcrypto -pthread
|
|
./build/test-directory
|
|
PASS directory validation, persistence, revisions, backup, live reports
|
|
cc -O2 -g -Wall -Wextra -Werror -std=c11 -Inative -DMARS_WRAPPED -DMARS_ID_TESTING '-DMARS_ID_DB="/tmp/mars094/mars_nwe/build/identity-test/ids.sqlite3"' tests/test_identity.c native/identity.c native/identity_wrap.c -Wl,--wrap=getpwnam -Wl,--wrap=getpwuid -Wl,--wrap=getpwnam_r -Wl,--wrap=getpwuid_r -Wl,--wrap=getgrnam -Wl,--wrap=getgrgid -Wl,--wrap=getgrnam_r -Wl,--wrap=getgrgid_r -Wl,--wrap=initgroups -Wl,--wrap=getgrouplist -lsqlite3 -o build/test-identity
|
|
cc -O2 -g -Wall -Wextra -Werror -std=c11 -Inative -I/usr/include/json-c -DMARS_ID_TESTING '-DMARS_ID_DB="/tmp/mars094/mars_nwe/build/identity-test/api.sqlite3"' tests/test_identity_api.c native/identity.c native/identity_api.c native/core.c -ljson-c -lssl -lcrypto -pthread -lsqlite3 -o build/test-identity-api
|
|
mkdir -p build/identity-test
|
|
chmod 0700 build/identity-test
|
|
./build/test-identity
|
|
PASS actual kernel UID-based file permission separation
|
|
PASS virtual UID/GID allocation, persistence, libc lookups, groups, permission and symlink rejection, no reuse
|
|
./build/test-identity-api
|
|
PASS API capability check, failed probe reservation, successful mocked Bindery create, duplicate rejection, no password in SQLite/API
|
|
cc -O2 -g -Wall -Wextra -std=c11 -I/usr/include/json-c tests/test_scripts.c -o build/test-scripts -ljson-c -lssl -lcrypto -pthread
|
|
./build/test-scripts
|
|
PASS system/personal scripts, CRLF, backup, inode/mode, stale revision, ASCII, symlink rejection
|
|
cc -O2 -g -Wall -Wextra -std=c11 tests/test_trustee.c -o build/test-trustee
|
|
./build/test-trustee
|
|
|
|
MARS-TRUSTEE -1
|
|
|
|
MARS-TRUSTEE 65
|
|
|
|
MARS-TRUSTEE -1
|
|
PASS trustee path/rights validation, mock get/set/remove, revision conflict, symlink rejection
|
|
cc -O2 -g -Wall -Wextra -Werror -std=c11 -Inds tests/test_nds_frag.c nds/fragger.c -o build/test-nds-frag
|
|
./build/test-nds-frag
|
|
PASS experimental NDS 104/2 fragment assembly, reply fragmentation, handles, bounds, errors
|
|
node --test browser/test.mjs browser/audio-controller.test.mjs browser/lifecycle.test.mjs
|
|
TAP version 13
|
|
# Subtest: managed audio only starts on request, stops, and can restart after failure
|
|
ok 1 - managed audio only starts on request, stops, and can restart after failure
|
|
---
|
|
duration_ms: 3.078498
|
|
type: 'test'
|
|
...
|
|
# Subtest: missing audio server and spawn failure remain unavailable
|
|
ok 2 - missing audio server and spawn failure remain unavailable
|
|
---
|
|
duration_ms: 0.920216
|
|
type: 'test'
|
|
...
|
|
# Subtest: external audio mode does not start or kill a separate process
|
|
ok 3 - external audio mode does not start or kill a separate process
|
|
---
|
|
duration_ms: 0.136956
|
|
type: 'test'
|
|
...
|
|
# Subtest: admin accessible while disabled, listener toggle and persisted restart
|
|
ok 4 - admin accessible while disabled, listener toggle and persisted restart
|
|
---
|
|
duration_ms: 538.551496
|
|
type: 'test'
|
|
...
|
|
# Subtest: configuration bounds and secure defaults
|
|
ok 5 - configuration bounds and secure defaults
|
|
---
|
|
duration_ms: 1.396294
|
|
type: 'test'
|
|
...
|
|
# Subtest: packet fragmentation and network order
|
|
ok 6 - packet fragmentation and network order
|
|
---
|
|
duration_ms: 1.392378
|
|
type: 'test'
|
|
...
|
|
# Subtest: RLE565
|
|
ok 7 - RLE565
|
|
---
|
|
duration_ms: 0.237037
|
|
type: 'test'
|
|
...
|
|
# Subtest: ADPCM independent block
|
|
ok 8 - ADPCM independent block
|
|
---
|
|
duration_ms: 0.274303
|
|
type: 'test'
|
|
...
|
|
1..8
|
|
# tests 8
|
|
# suites 0
|
|
# pass 8
|
|
# fail 0
|
|
# cancelled 0
|
|
# skipped 0
|
|
# todo 0
|
|
# duration_ms 604.507636
|
|
node --check websetup/app.js
|
|
make -C clients/retro-browser check
|
|
make[1]: Entering directory '/tmp/mars094/mars_nwe/clients/retro-browser'
|
|
cc -O2 -Wall -Wextra -std=c89 -pedantic common/rbp.c common/test.c -o rbp-test
|
|
./rbp-test
|
|
PASS C89 wire fragmentation, endian, RLE bounds, PCM, IMA ADPCM
|
|
rm -f rbp-test
|
|
make[1]: Leaving directory '/tmp/mars094/mars_nwe/clients/retro-browser'
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -Werror -std=c11 -Isrc tests/test_ncp_ip_config.c src/ncp_ip_config.c -o build/test-ncp-ip-config -I/usr/include/json-c -ljson-c
|
|
node tests/test_ncp_ip_ui.cjs
|
|
PASS NCP/IP UI: local address selection, validation, revision, save, failed load
|
|
./build/test-ncp-ip-config
|
|
PASS NCP/IP local/private address and type validation
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -Werror -std=c11 -Isrc tests/test_slp.c src/slp.c -o build/test-slp
|
|
./build/test-slp
|
|
PASS SLPv2 query, attributes, scope/filter, no NDS advertisement, malformed packets and random inputs
|
|
./build/test-nds-lab
|
|
PASS ping, context, public Resolve Name, fragment isolation, replay, close, denied auth, malformed packets and 50000 random requests
|
|
MARS_NDS_LAB=0 ./build/test-nds-lab disabled
|
|
PASS disabled or invalid model fails closed
|
|
MARS_NDS_LAB=1 MARS_NDS_LAB_CONFIG='{"tree":"X","organization":"Y","units":["A/B"]}' ./build/test-nds-lab invalid
|
|
PASS disabled or invalid model fails closed
|
|
python3 tests/test_nds_hook.py
|
|
PASS dispatcher hook compile/link fixture, rejects repeated or incompatible patch; actual upstream not tested
|
|
node tests/test_directory_ui.cjs
|
|
PASS wizard form validation and generated client instructions
|
|
python3 tests/test_dos_export.py
|
|
Read-only DOS snapshot: /tmp/tmp_6fv0wax/dos
|
|
Configure a SEPARATE read-only NetWare volume and its trustee rights. Source ACLs are not copied.
|
|
PASS: DOS aliases, collisions, reserved names, bytes, CP850 catalog, link rejection
|
|
|
|
CivetWeb check:
|
|
<stdin>:1:10: fatal error: civetweb.h: No such file or directory
|
|
compilation terminated.
|