diff options
Diffstat (limited to 'verification-test')
-rwxr-xr-x | verification-test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/verification-test b/verification-test index 04a475d6..037aaea8 100755 --- a/verification-test +++ b/verification-test @@ -34,7 +34,7 @@ # fail even though Obnam was working ine: it's just that some file changed # between Obnam backing it up and summain including it in the manifest. # -# Copyright 2011-2014 Lars Wirzenius +# Copyright 2011-2014,2017 Lars Wirzenius # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -76,7 +76,7 @@ backup() then die "gen is empty" fi - summain "$dir" -r --output="$repo/$client.$gen.summain" + summain "$dir" -r --output="$repo/$client.$gen.summain" -c SHA1 } abspath() @@ -103,7 +103,8 @@ verify() ./obnam --no-default-configs --config="$conf" \ restore --to="$tempdir/$gen" --generation="$gen" || \ exit 42 - summain "$tempdir/$gen/$dir" -r --output="$tempdir/summain.$gen" + summain "$tempdir/$gen/$dir" -r --output="$tempdir/summain.$gen" \ + -c SHA1 if ! diff -u "$repo/$client.$gen.summain" "$tempdir/summain.$gen" then die "generation $gen failed to restore properly, see $tempdir" |