patman: Allow tests to run even if patman is in the path
authorDoug Anderson <dianders@chromium.org>
Mon, 26 Nov 2012 15:21:40 +0000 (15:21 +0000)
committerSimon Glass <sjg@chromium.org>
Thu, 31 Jan 2013 23:23:39 +0000 (15:23 -0800)
commita970048e755768e7d7d10c6b209999133ef75814
tree21bb88f42d1c48bd30e9d257fe7b1bd531e93691
parent05d5282b587f6fb7e34e1014e7312d2c25bb9a7f
patman: Allow tests to run even if patman is in the path

Several of the patman doctests assume that patman was run with:
  ./patman

Fix them so that they work even if patman is run with just "patman"
(because patman is in the path).

Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
tools/patman/gitutil.py