[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #32172 [Core Tor/Tor]: port test suite to Android to run in emulator
#32172: port test suite to Android to run in emulator
---------------------------------+------------------------------
Reporter: eighthave | Owner: (none)
Type: task | Status: new
Priority: Medium | Component: Core Tor/Tor
Version: | Severity: Normal
Keywords: Android, tbb-mobile | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------------+------------------------------
Attached is the first stab at getting something from the test suite
running in Android.
* there is no /tmp on Android, there is /data/local/tmp for root and the
shell user
* no use in testing the user ID stuff, Android apps cannot ever change
users
To get the full suite running, there will need to be larger changes:
* either switch Python code to plain ''sh'' or hack to get Python running
in Android emulator
* port ''sh'' scripts to Android, it is not a full UNIX environment, so
things like ''printf'' and others are not always there.
* the shebang will need to be settable to `#!/system/bin/sh` or the tests
need to be executed using `sh test_keygen.sh`
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32172>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs