[tor-bugs] #32340 [Core Tor/Tor]: FAIL src/test/test_process_slow.c:240: assert(smartlist_len(process_data->stdout_data) OP_EQ 12): 2 vs 12
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Oct 30 09:42:10 UTC 2019
#32340: FAIL src/test/test_process_slow.c:240:
assert(smartlist_len(process_data->stdout_data) OP_EQ 12): 2 vs 12
--------------------------+------------------------
Reporter: eighthave | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: Android | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------
Comment (by eighthave):
Here's all the steps that fail from that test:
{{{
slow/process/callbacks:
FAIL src/test/test_process_slow.c:240:
assert(smartlist_len(process_data->stdout_data) OP_EQ 12): 2 vs 12
FAIL src/test/test_process_slow.c:243:
assert(smartlist_len(process_data->stderr_data) OP_EQ 3): 0 vs 3
FAIL src/test/test_process_slow.c:245: assert(process_data->exit_code
OP_EQ 0): 256 vs 0
FAIL src/test/test_process_slow.c:251:
assert(smartlist_get(process_data->stdout_data, 0) OP_EQ argv0_expected):
<<NULL>> vs <argv[0] = '/home/hans/code/guardianproject/tor-
android/external/tor/src/test/test-process'>
FAIL src/test/test_process_slow.c:279:
assert(smartlist_get(process_data->stderr_data, 0) OP_EQ "Output on
stderr"): <<NULL>> vs <Output on stderr>
[callbacks FAILED]
}}}
Here's how I ran it easily:
{{{
$ git clone https://gitlab.com/eighthave/tor-android
$ cd tor-android/external
$ make APP_ABI=x86
# start Android x86 or x86_64 emulator
$ rm -f tor-build-stamp ; make APP_ABI=x86 \
&& adb -e push test/x86/test-slow /data/local/tmp/ \
&& adb -e shell /data/local/tmp/test-slow
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32340#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list