Skip to content

Commit

Permalink
use $() rather than ``
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissie-c committed Mar 18, 2022
1 parent 865e004 commit 8812662
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/ipc_sock.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
# so we can test both options without breaking other things
# that might be running on this system
#
if [ "`uname -s`" = "Linux" ]
if [ "$(uname -s)" = "Linux" ]
then
if [ -f `pwd`/.libs/libstat_wrapper.so ]
if [ -f $(pwd)/.libs/libstat_wrapper.so ]
then
export LD_PRELOAD=`pwd`/.libs/libstat_wrapper.so
export LD_PRELOAD=$(pwd)/.libs/libstat_wrapper.so
else
export LD_PRELOAD=`pwd`/libstat_wrapper.so
export LD_PRELOAD=$(pwd)/libstat_wrapper.so
fi
./ipc.test
else
Expand Down
2 changes: 1 addition & 1 deletion tests/start.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# The test programs all add "qb-test-<name>-" to the front of this.
#

NAME="$$-`date +%s`"
NAME="$$-$(date +%s)"

printf "$NAME" > ipc-test-name
mkdir -p $SOCKETDIR

0 comments on commit 8812662

Please sign in to comment.