]> Cypherpunks.ru repositories - goredo.git/blobdiff - t/redo-sh.tests/ood_3/test
Always OOD unexistent targets
[goredo.git] / t / redo-sh.tests / ood_3 / test
index 347d53bb1ffe93995c56816e9a5b5de23e1dd125..1f47c508efbe290c3ddd916c639dc5a1bc6013bf 100755 (executable)
@@ -39,7 +39,7 @@ ood1=$(redo-ood)
 >d printf '4\n'
 <d read -r d2
 
-ood2=$(redo-ood)
+ood2=$(redo-ood | sed /^all$/d)
 
 test 0 -eq "${a1}"
 test 1 -eq "${b1}"
@@ -47,7 +47,7 @@ test 2 -eq "${c1}"
 test 3 -eq "${d1}"
 test 4 -eq "${d2}"
 
-test -z "${ood1}"
+[ "${ood1}" = "all" ]
 test -n "${ood2}"
 
 . ../stat_inode.rc