From 86952dd3edf4ca45f8df7440cb8b6d31d9e415d7 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Tue, 15 Oct 2019 15:06:35 -0700 Subject: tests: Stop invoking python just to get the real source directory While we're at it, stop checking for a seven-year-old version of nose -- we already list a newer version in test-requirements.txt anyway. Change-Id: I97beace3094f11286730b99653dc1e8f699c5aec --- .alltests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.alltests') diff --git a/.alltests b/.alltests index ac30d5738..75ccf9a52 100755 --- a/.alltests +++ b/.alltests @@ -2,7 +2,7 @@ set -e -TOP_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))") +TOP_DIR=$(dirname $(realpath "$0")) echo "==== Unit tests ====" resetswift -- cgit v1.2.1