summaryrefslogtreecommitdiff
path: root/tests/01_engine-entities.test
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-02 10:17:05 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-02 10:17:05 +0000
commit5882fbd039bb8e7ae825cba500ccef1686e5b015 (patch)
treee39f2b04adb3300e2f09200560ae926d42eba452 /tests/01_engine-entities.test
parenta94987b93ecad02ca1b077fe784b5d08fb1b6ec4 (diff)
Added minimalistic unit tests for HTTrack (about time :p)
Diffstat (limited to 'tests/01_engine-entities.test')
-rwxr-xr-xtests/01_engine-entities.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/01_engine-entities.test b/tests/01_engine-entities.test
new file mode 100755
index 0000000..6beb75d
--- /dev/null
+++ b/tests/01_engine-entities.test
@@ -0,0 +1,5 @@
+#!/bin/bash
+#
+
+# basic entities handling (with boggy entities handling)
+test "$(httrack -O /dev/null -#6 "&foo;&nbsp;th&eacute;&amp;caf&#xe9;&#e9;&#x3082;&#12398;&#x306e;&#x3051;&#x59eb;")" == "&foo; thé&café&#e9;もののけ姫" || exit 1