From 73b40d24b6d7dc03852157fee16e38e58f84c6a0 Mon Sep 17 00:00:00 2001 From: Michał Łyszczek Date: Thu, 22 Aug 2019 22:59:21 +0200 Subject: move site from kurwinet.pl to bofc.pl domain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no_ci Signed-off-by: Michał Łyszczek --- gen-download-page.sh | 8 ++++---- man2html.sh | 4 ++-- mtest.sh | 4 ++-- readme.md | 16 ++++++++-------- www/index.in | 2 +- 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 "

downloads

" echo "

git

" echo "

" -echo "git clone git@kurwinet.pl:${project}
" -echo "git clone git://kurwinet.pl/${project}
" -echo "git clone http://git.kurwinet.pl/${project}
" +echo "git clone git@git.bofc.pl:${project}
" +echo "git clone git://git.bofc.pl/${project}
" +echo "git clone http://git.bofc.pl/${project}
" echo "

" echo "

tarballs

" 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/^/

${name}(${n})<\/p>

kurwinet manual pages<\/p>

${name}(${n})<\/p>\n

/" "${ftmp}" + sed -i "1s/^/

${name}(${n})<\/p>

bofc manual pages<\/p>

${name}(${n})<\/p>\n

/" "${ftmp}" # remove uneeded links to non-existing index sed -i 's/Return to Main Contents<\/A>


//' "${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 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" -- cgit v1.2.3-8-gadcc