Fix unportable test(1) construct.

Signed-off-by: Aliaksey Kandratsenka <alk@tut.by>