122 lines
5.1 KiB
Plaintext
122 lines
5.1 KiB
Plaintext
node --test browser/test.mjs
|
|
TAP version 13
|
|
# Subtest: configuration bounds and secure defaults
|
|
ok 1 - configuration bounds and secure defaults
|
|
---
|
|
duration_ms: 1.837139
|
|
type: 'test'
|
|
...
|
|
# Subtest: packet fragmentation and network order
|
|
ok 2 - packet fragmentation and network order
|
|
---
|
|
duration_ms: 1.555503
|
|
type: 'test'
|
|
...
|
|
# Subtest: RLE565
|
|
ok 3 - RLE565
|
|
---
|
|
duration_ms: 0.339512
|
|
type: 'test'
|
|
...
|
|
# Subtest: ADPCM independent block
|
|
ok 4 - ADPCM independent block
|
|
---
|
|
duration_ms: 0.41143
|
|
type: 'test'
|
|
...
|
|
1..4
|
|
# tests 4
|
|
# suites 0
|
|
# pass 4
|
|
# fail 0
|
|
# cancelled 0
|
|
# skipped 0
|
|
# todo 0
|
|
# duration_ms 81.347656
|
|
node --check websetup/app.js
|
|
make -C clients/retro-browser check
|
|
make[1]: Entering directory '/mnt/data/merged-build/mars_nwe_pcab/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 '/mnt/data/merged-build/mars_nwe_pcab/clients/retro-browser'
|
|
make -C clients/retro-browser all
|
|
make[1]: Entering directory '/mnt/data/merged-build/mars_nwe_pcab/clients/retro-browser'
|
|
cc -O2 -Wall -Wextra -D_POSIX_C_SOURCE=200809L linux/main.c common/rbp.c -lX11 -o mars-retrobrowser-x11
|
|
make[1]: Leaving directory '/mnt/data/merged-build/mars_nwe_pcab/clients/retro-browser'
|
|
mkdir -p build
|
|
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 src/broker.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 (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
|
|
node --test browser/test.mjs
|
|
TAP version 13
|
|
# Subtest: configuration bounds and secure defaults
|
|
ok 1 - configuration bounds and secure defaults
|
|
---
|
|
duration_ms: 1.933824
|
|
type: 'test'
|
|
...
|
|
# Subtest: packet fragmentation and network order
|
|
ok 2 - packet fragmentation and network order
|
|
---
|
|
duration_ms: 1.915496
|
|
type: 'test'
|
|
...
|
|
# Subtest: RLE565
|
|
ok 3 - RLE565
|
|
---
|
|
duration_ms: 0.350258
|
|
type: 'test'
|
|
...
|
|
# Subtest: ADPCM independent block
|
|
ok 4 - ADPCM independent block
|
|
---
|
|
duration_ms: 0.330859
|
|
type: 'test'
|
|
...
|
|
1..4
|
|
# tests 4
|
|
# suites 0
|
|
# pass 4
|
|
# fail 0
|
|
# cancelled 0
|
|
# skipped 0
|
|
# todo 0
|
|
# duration_ms 83.811125
|
|
node --check websetup/app.js
|
|
make -C clients/retro-browser check
|
|
make[1]: Entering directory '/mnt/data/merged-build/mars_nwe_pcab/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 '/mnt/data/merged-build/mars_nwe_pcab/clients/retro-browser'
|
|
A500 planar tests OK
|