summaryrefslogtreecommitdiff
path: root/tests/misc/nohup
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/nohup')
-rwxr-xr-xtests/misc/nohup8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/nohup b/tests/misc/nohup
index a7246df16..9d3d76aa6 100755
--- a/tests/misc/nohup
+++ b/tests/misc/nohup
@@ -16,12 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- nohup --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && nohup --version
nohup sh -c 'echo stdout; echo stderr 1>&2' 2>err || fail=1