Skip to content

Commit feaebe5

Browse files
committed
Add readlink to list of banned commands.
1 parent 66e96d5 commit feaebe5

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

test/banned_commands.bats

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
load test_helpers
44

5-
banned_commands=(realpath eval)
5+
banned_commands=(
6+
realpath
7+
# readlink on OSX behaves differently from readlink on other Unix systems
8+
readlink
9+
# It's best to avoid eval as it makes it easier to accidentally execute
10+
# arbitrary strings
11+
eval
12+
)
613

714
setup() {
815
setup_asdf_dir

0 commit comments

Comments
 (0)