[gjs] tests: fix a typo in bash script
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] tests: fix a typo in bash script
- Date: Wed, 8 Mar 2017 23:44:54 +0000 (UTC)
commit 350b794134e23dce5e5cabda25e01d5b41dfa04e
Author: Claudio André <claudioandre br gmail com>
Date: Wed Mar 8 17:43:21 2017 -0300
tests: fix a typo in bash script
https://bugzilla.gnome.org/show_bug.cgi?id=779772
installed-tests/scripts/testCommandLine.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/installed-tests/scripts/testCommandLine.sh b/installed-tests/scripts/testCommandLine.sh
index e76ea29..c51a302 100755
--- a/installed-tests/scripts/testCommandLine.sh
+++ b/installed-tests/scripts/testCommandLine.sh
@@ -52,7 +52,7 @@ report_xfail () {
# Test that System.exit() works in gjs-console
"$gjs" -c 'imports.system.exit(0)'
report "System.exit(0) should exit successfully"
-"gjs" -c 'imports.system.exit(42)'
+"$gjs" -c 'imports.system.exit(42)'
test $? -eq 42
report "System.exit(42) should exit with the correct exit code"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]