about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-22 22:48:02 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-22 22:48:02 -0700
commita91fdac3afc541bdf7f3458cba58367f044ef348 (patch)
treeeebf9bb2aa5c633e3c91585fc4bd547cd65d5c82 /subx
parentd1fa22f7b45378ddb6ce4eaf04f36f6c0bf0203c (diff)
downloadmu-a91fdac3afc541bdf7f3458cba58367f044ef348.tar.gz
5222
Fix CI for a real, restricted /bin/sh.
Diffstat (limited to 'subx')
-rwxr-xr-xsubx/test_apps4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/test_apps b/subx/test_apps
index dd179655..a6e78ee3 100755
--- a/subx/test_apps
+++ b/subx/test_apps
@@ -131,11 +131,11 @@ test `uname` = 'Linux'  &&  examples/ex12
 echo handle
 ./subx translate 0*.subx apps/handle.subx  -o apps/handle
 [ "$1" != record ]  &&  git diff --exit-code apps/handle
-./subx run apps/handle >& handle.out  ||  true
+./subx run apps/handle > handle.out 2>&1  ||  true
 grep -q 'lookup succeeded' handle.out  ||  { echo "missing success test"; exit 1; }
 grep -q 'lookup failed' handle.out  ||  { echo "missing failure test"; exit 1; }
 test `uname` = 'Linux'  &&  {
-  apps/handle >& handle.out  ||  true
+  apps/handle > handle.out 2>&1  ||  true
   grep -q 'lookup succeeded' handle.out  ||  { echo "missing success test"; exit 1; }
   grep -q 'lookup failed' handle.out  ||  { echo "missing failure test"; exit 1; }
 }