diff --git a/libexec/pyenv b/libexec/pyenv index 3cf004e6..9dd464a9 100755 --- a/libexec/pyenv +++ b/libexec/pyenv @@ -28,8 +28,6 @@ if [ -z "$READLINK" ]; then exit 1 fi -unset GREP_OPTIONS - resolve_link() { $READLINK "$1" } diff --git a/test/libexec/pyenv-grep b/test/libexec/pyenv-grep deleted file mode 100755 index 862c66fc..00000000 --- a/test/libexec/pyenv-grep +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -grep -E "$@" diff --git a/test/pyenv_ext.bats b/test/pyenv_ext.bats index 95baa41e..fdc7da46 100644 --- a/test/pyenv_ext.bats +++ b/test/pyenv_ext.bats @@ -1,11 +1,3 @@ #!/usr/bin/env bats load test_helper - -@test "conflicting GREP_OPTIONS" { - file="${BATS_TMPDIR}/hello" - echo "hello" > "$file" - GREP_OPTIONS="-F" run pyenv grep "hell." "$file" - assert_success - assert_output "hello" -}