tests/test-install
author Martin Geisler <mg@lazybytes.net>
Wed, 11 Nov 2009 22:53:01 +0100
changeset 9837 b13474cd1496
parent 9734 36c388a1aa51
permissions -rwxr-xr-x
record: handle translated prompt correctly The prompt function would return 'y' or 'n' untranslated. This should therefore not be compared to _('y') and _('n'). However, it turns out that prompt could just as well return a good old Boolean.

#!/bin/sh

echo '% hg debuginstall'
hg debuginstall

echo '% hg debuginstall with no username'
HGUSER= hg debuginstall

# Happy End
true