Skip to content
Snippets Groups Projects
Commit a65710af authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=13350

i=Nathan

Abort runtests if $FILES is empty.
parent acc56e3d
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,8 @@ mkdir $DST || fail "can't mkdir $DST" 10
# ok, that hopefully worked, so let's do a little more, with files that
# haven't changed in the last day (hopefully they don't change during test)
FILES=`find $SRC -type f -mtime +1 -ctime +1 | head -n $COUNT`
[ -z "$FILES" ] && fail "No unchanged files - is $SRC a new dir?"
log "copying files from $SRC to $DST$SRC at `date`"
tar cf - $FILES | tar xvf - -C $DST > /dev/null || fail "copying $SRC" 11
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment