From 5ca423c9f32c924236cc50880f973bedc5ba2d96 Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Mon, 1 Dec 2014 20:34:12 +0900 Subject: [PATCH] Revert a fix for #101 to fix broken tests relating to `PYENV_NATIVE_EXT` --- libexec/pyenv | 2 -- test/libexec/pyenv-grep | 2 -- test/pyenv_ext.bats | 8 -------- 3 files changed, 12 deletions(-) delete mode 100755 test/libexec/pyenv-grep 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" -}