Source: faketime Version: 0.9.6-6 Severity: wishlist Tags: patch
The attached patch adds a minimal DEP-8 test. This should allow detecting bugs like #830510 automatically. -- Jakub Wilk
diff -Nru faketime-0.9.6/debian/tests/control faketime-0.9.6/debian/tests/control --- faketime-0.9.6/debian/tests/control 1970-01-01 01:00:00.000000000 +0100 +++ faketime-0.9.6/debian/tests/control 2016-07-09 19:18:12.000000000 +0200 @@ -0,0 +1,2 @@ +Tests: smoketest +Depends: faketime diff -Nru faketime-0.9.6/debian/tests/smoketest faketime-0.9.6/debian/tests/smoketest --- faketime-0.9.6/debian/tests/smoketest 1970-01-01 01:00:00.000000000 +0100 +++ faketime-0.9.6/debian/tests/smoketest 2016-07-09 19:27:17.000000000 +0200 @@ -0,0 +1,3 @@ +#!/bin/bash +export LC_ALL=C +exec diff -u <(echo 'Wed Dec 24 07:15:42 UTC 2008') <(faketime '2008-12-24 08:15:42' date -u)