diff --git a/tests/test-units.sh b/tests/test-units.sh index e1b3e511..14d88cc0 100755 --- a/tests/test-units.sh +++ b/tests/test-units.sh @@ -87,7 +87,7 @@ function test_composefs_info_measure_files () { assert_streq "$(tail -1 out.txt)" "91e7d88cb7bc9cf6d8db3b0ecf89af4abf204bef5b3ade5113d5b62ef374e70b" if [ $has_fsverity = y ]; then - fsverity enable --hash-alg=256 test.txt + fsverity enable --hash-alg=sha256 test.txt digest=$($BINDIR/composefs-info measure-file test.txt) assert_streq "$digest" "37061ef2ac4c21bec68489b56138c5780306a4ad7fe6676236ecdf2c9027cd92" fi