Permalink
Browse files

Make a test case less sensitive to the contents of $TMP.

  • Loading branch information...
Andy Chu
Andy Chu committed Jun 24, 2018
1 parent 3856472 commit c6eb308701ff21fb7c7f53d73806a394f268dffc
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/command-sub.test.sh
View
@@ -29,7 +29,7 @@ echo `echo -n l; echo -n s`
# Inner `` are escaped! # Not sure how to do triple.. Seems like an unlikely
# use case. Not sure if I even want to support this!
echo X > $TMP/000000-first
echo `\`echo -n l; echo -n s\` $TMP | head -n 1`
echo `\`echo -n l; echo -n s\` $TMP | grep 000000-first`
# stdout: 000000-first
### Making command out of command sub should work

0 comments on commit c6eb308

Please sign in to comment.