Skip to content

Commit

Permalink
t/test-emails: invoke $MULTIMAIL with fixed $USER
Browse files Browse the repository at this point in the history
Since the output of $MULTIMAIL depends on $USER, set it to a temporary
constant value before invoking the command.  This will make it easier to
compare expected output with actual output.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
  • Loading branch information
artagnon committed Jul 3, 2013
1 parent 3281e4e commit 46ba7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/test-emails
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test-email() {
REFNAME="$1"
OLDREV="$2"
NEWREV="$3"
echo "$OLDREV" "$NEWREV" "$REFNAME" | "$MULTIMAIL"
echo "$OLDREV" "$NEWREV" "$REFNAME" | USER=vanille "$MULTIMAIL"
}

test-create() {
Expand Down

0 comments on commit 46ba7f6

Please sign in to comment.