freebsd-skq/bin/sh/tests/parser/alias16.0
Jilles Tjoelker 5850a75952 sh: Add test for unaliasing an alias that is currently in use.
This already works correctly.
2017-04-08 21:57:59 +00:00

8 lines
61 B
Plaintext

# $FreeBSD$
v=1
alias a='unalias a
v=2'
eval a
[ "$v" = 2 ]