Files
i2p.plugins.firefox/test/test-unsafe.sh
idk 02a93d28af move test scripts to own directory
Former-commit-id: 4d0cb523dc680859b006c3acebd757d39708b426
Former-commit-id: fc6d8212cb62d04eb038513f4360d93ae53fbb15
2022-11-15 23:29:09 -05:00

15 lines
842 B
Bash
Executable File

#! /usr/bin/env sh
ant distclean
ant jar
echo "Testing UNSAFE auto-selector with no private and no URL parameters."
java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PGenericUnsafeBrowser 2> gen.0.err 1> gen.0.log
echo "Testing UNSAFE auto-selector with local URL parameter."
java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PGenericUnsafeBrowser "http://127.0.0.1:7657" 2> gen.1.err 1> gen.1.log
echo "Testing UNSAFE auto-selector with remote URL parameter."
java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PGenericUnsafeBrowser "http://idk.i2p" 2> gen.2.err 1> gen.2.log
echo "Testing UNSAFE auto-selector with private browsing parameter"
java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PGenericUnsafeBrowser -private "http://127.0.0.1:7657" 2> gen.3.err 1> gen.3.log
echo "UNSAFE browser tests complete"