git » chasquid » next » tree

[next] / test / t-04-aliases / alias-resolve-hook

#!/bin/bash

case "$1" in
"vicuña@testserver")
	# Test one naked, one full. These exist in the static aliases file.
	echo pepe, joan@testserver
	;;
"vic.uña+abc@testserver")
	echo uña
	;;
"ñandú@testserver")
	echo "| writemailto ../.data/pipe_alias_worked"
	;;
"roto@testserver")
	exit 1
	;;
esac