]> git.draconx.ca Git - upkg.git/commit
tests: Fix libupkg-index-decode test failure on dash.
authorNick Bowler <nbowler@draconx.ca>
Thu, 24 Feb 2022 02:01:46 +0000 (21:01 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 24 Feb 2022 02:05:22 +0000 (21:05 -0500)
commit677adeec833114f535b62a57c47418f96c9315cf
tree5a1d80e0dc762e58587163f444d97da361e44883
parentb314e07b6d7bf0f69929409ebeae8fd45eecef59
tests: Fix libupkg-index-decode test failure on dash.

We need to quote the decode_val assignment which we pass to 'eval',
because $val may be the string (empty), and assignments of the form
decode_val=(empty) are rejected by dash and other shells.
tests/libupkg-index-decode.sh