3 if [[ ! -e build.sh ||
! -e install.sh
]]; then
4 echo "This test suite must be run from Conkeror's src root."
11 ## produce a javascript file that just dumpln's "Hello, World!"
12 TESTSCRIPT1
="$scratch/test1.js"
13 TESTSCRIPT1OUT
="Hello, World"\
!
14 echo -e "\nconkeror.dumpln (\"$TESTSCRIPT1OUT\");\n" > "$TESTSCRIPT1"
16 enter_scratch_directory
23 "\`conkeror -q -batch' produces no output" \
24 "./bin/conkeror -q -batch 2>&1"
28 "dumpln a pref, and browser.chromeURL is as expected" \
29 "chrome://conkeror/content/conkeror.xul" \
30 "./bin/conkeror -q -batch \
32 conkeror.preferences.getCharPref(\
33 \"browser.chromeURL\"))'\
38 "load js file with \`conkeror -l'" \
40 "./bin/conkeror -q -batch -l \"$TESTSCRIPT1\" 2>&1"