Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F20064492
run-jsunit
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
420 B
Subscribers
None
run-jsunit
View Options
#!/bin/sh
# Wrapper script for running jsunit test
# 1: path to perl exe
# 2: to perl thunderbird exe
# 3 - n parameters to thunderbird
TMPFILE
=
jsunit.result
perlpath
=
$1
tbpath
=
$2
shift
2
PL_PATH
=
${
perlpath
}
${
tbpath
}
"
$@
"
|
tee
${
TMPFILE
}
if
[
`
grep -c
"^TestResult: failed : 0"
${
TMPFILE
}
`
-eq
0
]
;
then
echo
"Tests failed"
res
=
1
else
echo
"All tests succeeded"
res
=
0
fi
rm -f
${
TMPFILE
}
exit
${
res
}
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sun, Feb 23, 7:16 PM (26 m, 11 s)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
8d/0b/1bab2dc0d634567eb55b4fd9233f
Attached To
rENIG Enigmail
Event Timeline
Log In to Comment