File: bisect-git-annex-doublepasswd.sh

package info (click to toggle)
datalad 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,148 kB
  • sloc: python: 69,414; sh: 1,521; makefile: 220
file content (9 lines) | stat: -rwxr-xr-x 241 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -eu

err="thread blocked indefinitely"

cd ~/QA
# script doesn't work in  a script since probably no tty
timeout 10 script -f -c 'git annex get -J2 sub-*' || :
test 1 -eq `sed -e 's, ,\n,g' typescript | grep -c 'password:' `