Skip to content

Commit

Permalink
Update tests/reftests/repository.test
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate authored Sep 5, 2024
1 parent 36c63b4 commit 64a7526
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/reftests/repository.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ N0REP0
set -ue
repo=$1
nv=$2
n=`echo $nv | cut -f1 -d.`
n=`echo "$nv" | cut -f1 -d.`
path=$repo/packages/$n/$nv
echo "extra-files:[" >> $path/opam
for file in `ls $path/files`; do
echo " [\"$file\" \"md5=`openssl md5 $path/files/$file | cut -f2 -d' '`\"]" >> $path/opam
echo "extra-files:[" >> "$path/opam"
for file in `ls "$path/files"`; do
echo " [\"$file\" \"md5=`openssl md5 "$path/files/$file" | cut -f2 -d' '`\"]" >> "$path/opam"
done
echo "]" >> $path/opam
echo "]" >> "$path/opam"
### <REPO/packages/foo/foo.1/opam>
opam-version: "2.0"
build: ["test" "-f" "bar"]
Expand Down

0 comments on commit 64a7526

Please sign in to comment.