File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,6 +131,23 @@ jobs:
131131 printf 'create database berlintest;\nrestore database berlintest from berlintest;\nclose database;\nquit;\n' \
132132 | ./SecondoTTYBDB
133133
134+ # -----------------------------------------------------------------------
135+ # Closes the loop the restore above opens: write the database back out and
136+ # require it to come back byte for byte.
137+ # -----------------------------------------------------------------------
138+ - name : Save the berlintest database and compare it with the original
139+ working-directory : bin
140+ run : |
141+ saved="${RUNNER_TEMP}/berlintest.saved"
142+ cat > "${RUNNER_TEMP}/save.sec" <<EOF
143+ open database berlintest;
144+ save database to '${saved}';
145+ close database;
146+ quit;
147+ EOF
148+ ./SecondoTTYBDB -i "${RUNNER_TEMP}/save.sec"
149+ cmp berlintest "$saved"
150+
134151 - name : Start the SECONDO monitor
135152 working-directory : bin
136153 run : |
You can’t perform that action at this time.
0 commit comments