-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from j8xixo12/fix_use_flavor_cmd
Fix use flavor cmd
- Loading branch information
Showing
3 changed files
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
. ../scripts/init | ||
|
||
echo "*** test file: $(basename ${BASH_SOURCE[0]})" | ||
|
||
test_use_cmd() { | ||
devenv add foo | ||
devenv use foo | ||
assertEquals ${DEVENVFLAVOR} "foo" | ||
devenv off | ||
devenv del foo | ||
devenv use foo | ||
assertNotContains "${DEVENVFLAVOR}" "foo" | ||
} | ||
|
||
# Load and run shUnit2. | ||
. ./shunit2/shunit2 |