We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2e94d commit a948d6fCopy full SHA for a948d6f
tests/test_run_hook.sh
@@ -57,7 +57,7 @@ test_virtualenvwrapper_run_hook_permissions() {
57
echo "echo run $@ >> \"$TMPDIR/catch_output\"" >> "$WORKON_HOME/prermvirtualenv"
58
chmod 0444 "$WORKON_HOME/prermvirtualenv"
59
touch "$TMPDIR/catch_output"
60
- error=$(virtualenvwrapper_run_hook "pre_rmvirtualenv" "foo" 2>&1 | grep "could not run" | cut -f2- -d'[')
+ error=$(virtualenvwrapper_run_hook "pre_rmvirtualenv" "foo" 2>&1 | grep "could not run" | cut -f2- -d'[' | cut -f1 -d:)
61
output=$(cat "$TMPDIR/catch_output")
62
expected=""
63
assertSame "$expected" "$output"
0 commit comments