Skip to content

Commit

Permalink
test: don't rely on order of keys in an assoc. array
Browse files Browse the repository at this point in the history
bash 5 changed the order again

See also: 9dbfabc
  • Loading branch information
marcinslusarz committed Feb 6, 2019
1 parent a0f19e2 commit 8721950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/libpmempool_api/TEST9
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# Copyright 2016-2018, Intel Corporation
# Copyright 2016-2019, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -51,7 +51,7 @@ rm -f $LOG_TEMP && touch $LOG_TEMP
declare -A pool_args=(["log"]="log"
["blk"]="blk 512")

for field in "${!pool_args[@]}";
for field in log blk;
do
echo "Pool type: ${field} Params: ${pool_args["$field"]}" >> $LOG_TEMP
expect_normal_exit $PMEMPOOL$EXESUFFIX create\
Expand Down

0 comments on commit 8721950

Please sign in to comment.