test-commitcloud-sync: fix test on Ubuntu

Summary:
On Ubuntu the output is a bit different:

```
   $ hg cloud sync --use-bgssh
   commitcloud: synchronizing 'server' with 'user/test/default'
-  remote: /bin/sh: trashssh: command not found
-  abort: no suitable response from remote hg!
+  remote: /bin/sh: 1: trashssh: not found
+  abort: no suitable response from remote hg: '[Errno 32] Broken pipe'!
```

Glob them out to make the test pass.

Reviewed By: DurhamG

Differential Revision: D23824735

fbshipit-source-id: 7f96149ee16daff31fd0a1c68975b5edfa27cc46
This commit is contained in:
Jun Wu 2020-09-22 15:20:01 -07:00 committed by Facebook GitHub Bot
parent bcbacfebf4
commit 27f4f7e94c

View File

@ -826,8 +826,8 @@ Check '--use-bgssh' option
$ mkcommit "trashssh test"
$ hg cloud sync --use-bgssh
commitcloud: synchronizing 'server' with 'user/test/default'
remote: /bin/sh: trashssh: command not found
abort: no suitable response from remote hg!
remote:*trashssh: command not found (glob)
abort: no suitable response from remote hg* (glob)
[255]
$ hg hide -r . -q
$ hg cloud sync -q