672a55e606
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
12 lines
278 B
Plaintext
Executable File
12 lines
278 B
Plaintext
Executable File
# Test cases where { cmd } does not require semicolon after "cmd"
|
|
(exit 2); { { true; } }
|
|
echo Zero:$?
|
|
(exit 2); {(true)}
|
|
echo Zero:$?
|
|
(exit 2); { true | { true; } }
|
|
echo Zero:$?
|
|
(exit 2); { while false; do :; done }
|
|
echo Zero:$?
|
|
(exit 2); { case a in b) ;; esac }
|
|
echo Zero:$?
|