Fetching details from the dictionary...
attacking a passerby with a sword (to test its sharpness or one's skill); samurai who tries out his sword on a passerby