aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgen-download-page.sh8
-rwxr-xr-xman2html.sh4
-rwxr-xr-xmtest.sh4
-rw-r--r--readme.md16
-rw-r--r--www/index.in2
5 files changed, 17 insertions, 17 deletions
diff --git a/gen-download-page.sh b/gen-download-page.sh
index fee5bc4..c136044 100755
--- a/gen-download-page.sh
+++ b/gen-download-page.sh
@@ -2,7 +2,7 @@
project='mtest'
out='www/downloads.html'
-remote="http://distfiles.kurwinet.pl/${project}"
+remote="http://distfiles.bofc.pl/${project}"
# extract links to files
links="$(curl "${remote}/" 2>/dev/null \
@@ -15,9 +15,9 @@ echo > "${out}"
echo "<h1>downloads</h1>"
echo "<h2>git</h2>"
echo "<p>"
-echo "git clone git@kurwinet.pl:${project}<br>"
-echo "git clone git://kurwinet.pl/${project}<br>"
-echo "git clone http://git.kurwinet.pl/${project}<br>"
+echo "git clone git@git.bofc.pl:${project}<br>"
+echo "git clone git://git.bofc.pl/${project}<br>"
+echo "git clone http://git.bofc.pl/${project}<br>"
echo "</p>"
echo "<h2>tarballs</h2>"
diff --git a/man2html.sh b/man2html.sh
index 955f031..185da7c 100755
--- a/man2html.sh
+++ b/man2html.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-hostname="http://librb.kurwinet.pl"
+hostname="http://librb.bofc.pl"
out="$(pwd)/www/manuals"
root="$(pwd)"
ftmp="/tmp/mtest-man2html"
@@ -34,7 +34,7 @@ do
name="${name%.*}"
version_info="$(head -n1 ${ftmp} | cut -f3 -d: | cut -f1 -d\<)"
tail -n+2 "${ftmp}" > tmp; mv tmp "${ftmp}"
- sed -i "1s/^/<p class=\"info left\">${name}(${n})<\/p><p class=\"info center\">kurwinet manual pages<\/p><p class=\"info right\">${name}(${n})<\/p>\n<br><P> /" "${ftmp}"
+ sed -i "1s/^/<p class=\"info left\">${name}(${n})<\/p><p class=\"info center\">bofc manual pages<\/p><p class=\"info right\">${name}(${n})<\/p>\n<br><P> /" "${ftmp}"
# remove uneeded links to non-existing index
sed -i 's/<A HREF="\.\.\/index.html">Return to Main Contents<\/A><HR>//' "${ftmp}"
diff --git a/mtest.sh b/mtest.sh
index 105df93..fa6ad76 100755
--- a/mtest.sh
+++ b/mtest.sh
@@ -122,12 +122,12 @@ mt_run_named()
mt_fail()
{
- ((mt_total_checks++))
+ mt_total_checks=$(( mt_total_checks + 1 ))
if ! eval $1
then
echo "# assert $mt_current_test, '$1'"
mt_test_status=1
- ((mt_checks_failed++))
+ mt_checks_failed=$(( mt_checks_failed + 1 ))
fi
}
diff --git a/readme.md b/readme.md
index 8c3feb6..8d67be2 100644
--- a/readme.md
+++ b/readme.md
@@ -29,7 +29,7 @@ Documentation
=============
Full documentation (and some more info) is available at
-[mtest.kurwinet.pl](http://mtest.kurwinet.pl/manuals.html)
+[mtest.bofc.pl](http://mtest.bofc.pl/manuals.html)
There are also man pages in **man** directory.
@@ -44,13 +44,13 @@ it's a proof that unit testing can be very easy to implement.
Examples
========
-Example test is in [example](http://git.kurwinet.pl/mtest/tree/example)
+Example test is in [example](http://git.bofc.pl/mtest/tree/example)
directory. Also following projects use **mtest** for testing:
-* [memperf](http://git.kurwinet.pl/memperf)
-* [embedlog](http://git.kurwinet.pl/embedlog)
-* [kurload](http://git.kurwinet.pl/kurload)
-* [librb](http://git.kurwinet.pl/librb)
+* [memperf](http://git.bofc.pl/memperf)
+* [embedlog](http://git.bofc.pl/embedlog)
+* [kurload](http://git.bofc.pl/kurload)
+* [librb](http://git.bofc.pl/librb)
Tests results are integrated with automake **make check** call.
@@ -67,6 +67,6 @@ Michał Łyszczek <michal.lyszczek@bofc.pl>
See also
========
-* [project webpage](http://mtest.kurwinet.pl)
-* [git repository](http://git.kurwinet.pl/mtest)
+* [project webpage](http://mtest.bofc.pl)
+* [git repository](http://git.bofc.pl/mtest)
* [test anything protocol (tap)](http://testanything.org)
diff --git a/www/index.in b/www/index.in
index 1d01241..5c06397 100644
--- a/www/index.in
+++ b/www/index.in
@@ -1,4 +1,4 @@
-in_title="mtest.kurwinet.pl - mtest (macro test) for simple C unit testing"
+in_title="mtest.bofc.pl - mtest (macro test) for simple C unit testing"
in_description="mtest - macro test, is a very small unit test framework. Really small, it contains only single header file with macros only. mtest outputs test results in TAP format, so it can be piped to anything (like automake or jenkins) for even nicer output."
in_keywords="c, unit, test, framework"
in_author="Michał Łyszczek"