summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests10
1 files changed, 5 insertions, 5 deletions
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