From 2bb551efd8b3e50d715482a8f3b89f88bae74397 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 3 Jul 2024 17:55:45 +0200 Subject: Rename fq -> nqtail, tq -> nqterm There's only so many two letter binaries that can exist at the same time. A newer project, called fq, arrived and is clashing with nq in many packaging systems, and nqtail is a fine name too. --- tests | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests b/tests index 0e664ad..0f4b933 100755 --- a/tests +++ b/tests @@ -1,7 +1,7 @@ #!/bin/sh : ${NQ:=../nq} -: ${FQ:=../fq} +: ${NQTAIL:=../nqtail} set -e @@ -86,19 +86,19 @@ mkdir test.dir ( cd test.dir -printf '# fq tests\n' +printf '# nqtail tests\n' check 'spawning four jobs' 'f1=$($NQ sleep 100)' check 'spawning four jobs' 'f2=$($NQ echo two)' check 'spawning four jobs' 'f3=$($NQ sleep 300)' check 'spawning four jobs' 'f4=$($NQ sleep 400)' -check 'fq tracks first job' '($FQ ,* & p=$!; sleep 1; kill $p) | sed 3q | grep -q sleep.*100' +check 'nqtail tracks first job' '($NQTAIL ,* & p=$!; sleep 1; kill $p) | sed 3q | grep -q sleep.*100' check 'killing first job' kill ${f1##*.} check 'killing fourth job' kill ${f4##*.} sleep 1 -check 'fq tracks third job' '($FQ ,* & p=$!; sleep 1; kill $p) | sed 3q | grep -q sleep.*300' +check 'nqtail tracks third job' '($NQTAIL ,* & p=$!; sleep 1; kill $p) | sed 3q | grep -q sleep.*300' check 'killing third job' kill ${f3##*.} sleep 1 -check 'fq outputs last job when no job running' '$FQ ,* | sed 3q | grep -q sleep.*400' +check 'nqtail outputs last job when no job running' '$NQTAIL ,* | sed 3q | grep -q sleep.*400' ) rm -rf test.dir -- cgit 1.4.1