add a test for forked destination

This commit is contained in:
Earl Warren 2023-10-31 23:23:30 +01:00
parent dd5427bc63
commit a98dc1dffc
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
6 changed files with 91 additions and 24 deletions

View file

@ -0,0 +1,14 @@
#!/bin/bash
set -ex
destination_checkout="$1"
destination_pr_json="$2"
origin_checkout="$3"
origin_pr_json="$4"
test -d $destination_checkout
test -d $origin_checkout
test -f $origin_pr_json
date +%s > $destination_checkout/last